Skip to content

[pull] main from forem:main - #339

Merged
pull[bot] merged 7 commits into
amishakov:mainfrom
forem:main
Jul 21, 2026
Merged

[pull] main from forem:main#339
pull[bot] merged 7 commits into
amishakov:mainfrom
forem:main

Conversation

@pull

@pull pull Bot commented Jul 21, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

benhalpern and others added 7 commits July 21, 2026 09:38
* Add admin CRUD endpoints for surveys API

* Address pull request review comments (linting, schema validation, missing responses)

* Fix survey_url test assertion flakiness due to subforem host context
* Bust org edge cache when organization pages are saved

Organization pages render at the org profile URLs (/:org_slug for the
readme, /:org_slug/:suffix for custom pages, and both again on the org's
custom domain), but Page#bust_cache only busted /page/:slug and /:slug.
Saving a page from /:org_slug/settings/pages left the org profile and
custom-domain responses stale at the edge.

Thread the page's organization through Pages::BustCacheWorker into
EdgeCache::BustPage, which now also purges the organization's surrogate
key (with the org profile path as the non-Fastly fallback). All org page
responses carry that key, so one purge covers every URL variant. The
worker arg is optional, keeping already-enqueued jobs compatible.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Keep single-arg enqueue for non-org page cache busts

BustCacheBaseWorker's until_executing lock digests on job args, so
always appending a nil organization_id would stop new jobs from
coalescing with the historical single-arg form. Only pass the second
arg for organization pages.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* Add admin CRUD endpoints for surveys API

* Address pull request review comments (linting, schema validation, missing responses)

* Fix survey_url test assertion flakiness due to subforem host context

* Implement AI-filled survey email context

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Move AI email context generation to background job and address PR review comments

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…23661)

* Support custom domains as canonical links on organization show pages

* Clear custom_domain cache in bust_cache to ensure test isolation and prevent stale cache

* Check in-memory organization before MemoryFirstCache in URL.article to prevent stale test cache hits
@pull pull Bot locked and limited conversation to collaborators Jul 21, 2026
@pull pull Bot added the ⤵️ pull label Jul 21, 2026
@pull
pull Bot merged commit 2c7d46e into amishakov:main Jul 21, 2026
2 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants