Skip to content

deliverables: fix the production build of the public page - #109

Merged
a-trautman merged 1 commit into
mainfrom
deliverable-build-fix
Oct 21, 2026
Merged

a-trautman merged 1 commit into
mainfrom
deliverable-build-fix

Conversation

@a-trautman

Copy link
Copy Markdown
Collaborator

The Deploy run for #107 failed at staging: react-router build refused public.deliverable.$fileId.tsx because its component imported bodyOpensWithTitle from deliverables.server. Production wasn't touched.

  • The server computes showTitle in deliverablePage; the component reads it and no longer imports server code
  • The exact-fields test includes showTitle

Checked locally: pnpm --filter fruits run build passes (it reproduced the deploy error before the fix), deliverables tests 22/22, tsc clean, and the worker's production image builds (it only builds in the production job, and its Chromium change hasn't shipped yet).

Why CI missed it: CI runs tests and type checks but not the production build.

🤖 Generated with Claude Code

…browser

The page component called bodyOpensWithTitle from deliverables.server,
which React Router refuses to bundle for the client, so `react-router
build` failed and the Deploy run for #107 stopped at staging. The server
now decides it and sends `showTitle` with the rest of the page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@a-trautman
a-trautman merged commit c9920c0 into main Oct 21, 2026
6 checks passed
@a-trautman
a-trautman deleted the deliverable-build-fix branch October 21, 2026 17:37
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