Oleg Isonen
ac75dcdd73
fix: retain MDX identity in runtime asset queries (#6495)
## Summary
- Preserve `revision` and `contentRef` for MDX documents in runtime
asset queries, including when `content.mode` is `none`.
- Add a regression test for dynamic MDX queries that omit hydrated
content.
- Verified against the reported shared project: synced preview builds
successfully and the affected blog route returns HTTP 200.
Fixes #6490
## Checks
- `pnpm --filter @webstudio-is/content-engine test` (654 tests)
- `pnpm --filter @webstudio-is/content-engine typecheck`
- `pnpm exec oxfmt --check
packages/content-engine/src/compilation-plan.ts
packages/content-engine/src/asset-index.test.ts`
- `git diff --check`
2026-10-02 17:36:21 +02:00
..
2026-08-29 20:15:20 +02:00
2026-09-26 11:56:37 +02:00
2026-08-29 20:15:20 +02:00
2026-08-29 20:15:20 +02:00
2026-08-31 18:39:05 +02:00
2026-08-31 18:39:05 +02:00
2026-10-02 17:36:21 +02:00
2026-09-26 11:56:37 +02:00
2026-08-10 21:48:32 +02:00
2026-09-15 19:01:27 +02:00
2026-09-15 19:01:27 +02:00
2026-08-29 20:15:20 +02:00
2026-08-29 20:15:20 +02:00
2026-08-29 20:15:20 +02:00
2026-09-22 21:04:42 +02:00
2026-09-22 21:04:42 +02:00
2026-08-02 12:20:10 +02:00
2026-09-23 01:01:08 +02:00
2026-07-31 00:17:46 +02:00
2026-08-03 01:15:56 +02:00
2026-07-31 00:17:46 +02:00
2026-08-29 20:15:20 +02:00
2026-09-26 11:56:37 +02:00
2026-10-02 17:36:21 +02:00
2026-09-09 21:31:04 +02:00
2026-08-02 10:39:06 +02:00
2026-09-26 11:56:37 +02:00
2026-09-11 19:25:04 +02:00
2026-09-11 19:25:04 +02:00
2026-09-26 11:56:37 +02:00
2026-09-23 01:01:08 +02:00
2026-09-26 11:56:37 +02:00
2026-09-26 11:56:37 +02:00
2026-09-26 11:56:37 +02:00
2026-09-04 16:00:28 +02:00
2026-09-04 16:00:28 +02:00
2026-07-31 00:17:46 +02:00
2026-09-04 16:00:28 +02:00
2026-09-04 16:00:28 +02:00
2026-09-26 11:56:37 +02:00
2026-09-26 11:56:37 +02:00
2026-09-22 21:04:42 +02:00
2026-08-29 20:15:20 +02:00
2026-08-29 20:15:20 +02:00
2026-07-31 00:17:46 +02:00
2026-07-31 00:17:46 +02:00
2026-08-29 20:15:20 +02:00
2026-08-29 20:15:20 +02:00
2026-08-29 20:15:20 +02:00
2026-08-10 21:48:32 +02:00
2026-08-29 20:15:20 +02:00
2026-09-18 00:42:50 +02:00
2026-07-31 00:17:46 +02:00
2026-09-04 16:00:28 +02:00
2026-07-31 00:17:46 +02:00
2026-08-29 20:15:20 +02:00
2026-07-31 00:17:46 +02:00
2026-09-04 16:00:28 +02:00
2026-09-04 16:00:28 +02:00
2026-08-19 01:11:41 +02:00
2026-09-06 15:19:54 +02:00
2026-09-26 11:56:37 +02:00
2026-09-26 11:56:37 +02:00
2026-08-19 01:11:41 +02:00
2026-09-23 01:01:08 +02:00
2026-09-23 01:01:08 +02:00
2026-09-04 16:00:28 +02:00
2026-09-04 16:00:28 +02:00
2026-09-04 16:00:28 +02:00
2026-07-31 00:17:46 +02:00
2026-08-07 19:13:19 +02:00
2026-09-18 00:42:50 +02:00
2026-07-31 00:17:46 +02:00
2026-07-31 00:17:46 +02:00
2026-07-31 00:17:46 +02:00
2026-07-31 00:17:46 +02:00
2026-09-04 16:00:28 +02:00
2026-09-26 11:56:37 +02:00
2026-07-31 00:17:46 +02:00
2026-09-15 19:01:27 +02:00
2026-09-26 11:56:37 +02:00