Skip to content

fix cockpit content asset tracing#459

Merged
blove merged 1 commit into
mainfrom
codex/cockpit-trace-content-assets
May 19, 2026
Merged

fix cockpit content asset tracing#459
blove merged 1 commit into
mainfrom
codex/cockpit-trace-content-assets

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 19, 2026

Summary

  • Include cockpit runtime content assets in Next output file tracing for production deployments.
  • Trace from the monorepo root so server-side content bundle reads can find example code, prompts, docs, backend source, and nx.json.

Root Cause

The cockpit server reads example content from cockpit/** with fs at request/render time. The production deployment trace was rooted at the Next app, so files outside apps/cockpit were omitted from the Vercel bundle and the Code, Docs, and API panes rendered empty or missing content.

Verification

  • npx tsx --tsconfig=apps/cockpit/tsconfig.json -e '<content bundle audit>'
  • npx nx test cockpit
  • npx nx build cockpit --skip-nx-cache
  • Verified dist/apps/cockpit/.next/server/app/[...slug]/page.js.nft.json includes representative code, backend, docs, prompt, and nx.json entries.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment May 19, 2026 4:26am

Request Review

@blove blove merged commit fea26f7 into main May 19, 2026
18 checks passed
@blove blove deleted the codex/cockpit-trace-content-assets branch May 19, 2026 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant