fix: activate and automatically index Media Usage - #2538
fix: activate and automatically index Media Usage#2538khoinguyenpham04 wants to merge 27 commits into
Conversation
🦋 Changeset detectedLatest commit: e66bba6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Scope checkThis PR changes 3,521 lines across 63 files. Large PRs are harder to review and more likely to be closed without review. If this scope is intentional, no action needed. A maintainer will review it. If not, please consider splitting this into smaller PRs. See CONTRIBUTING.md for contribution guidelines. |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
emdash-demo-do | e66bba6 | Aug 20 2026, 10:13 PM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
emdash-playground | 1fcbc86 | Aug 18 2026, 10:43 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
docs | ccecc1e | Aug 20 2026, 09:59 PM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
emdash-demo-cache | e66bba6 | Aug 20 2026, 10:15 PM |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
What does this PR do?
Adds an administrator-controlled Media Usage setup flow and automatically indexes existing content in the background.
This draft:
The activation request never indexes the full site. Durable database work rows remain authoritative across interruption, retries, and duplicate Queue delivery.
This PR is stacked directly on #2472 and should be reviewed relative to
chore/media-usage-dev-seed-readiness.No linked issue.
Type of change
Checklist
pnpm typecheckpassespnpm lintpassespnpm testpasses (targeted tests for this change)pnpm formathas been runAI-generated code disclosure
Screenshots / test output
The CI preview can be used to review the responsive setup page, Media Library notice, activation states, and indexing progress.
Verified on the combined tip
3b485c00:Try this PR
Open a fresh playground →
A full working EmDash site, deployed from this branch. Each visit gets its own session-scoped sandbox: no login needed and no shared state. Try the admin, edit content, hit the public site.
Tracks
feature/media-usage-activation-and-indexing. Updated automatically when the playground redeploys.