Repository navigation
Description
Fix the hosted UI release deploy (app.propr.dev) added in #3409. Check current upstream main first.
Failure: the v0.9.1 release run https://github.com/integry/propr/actions/runs/41293818370 published everything except job Deploy hosted UI (app.propr.dev), which failed at npm run build -w propr-ui with [commonjs--resolver] Failed to resolve entry for package "@propr/shared". The package may have incorrect main/module/exports specified in its package.json. After a clean npm ci, packages/shared/dist does not exist; every other workflow runs npm run build -w @propr/shared before building the UI (see pr-build-check.yml).
Do:
- In
.github/workflows/docker-images.ymljobhosted-ui/Deploy hosted UI, build@propr/shared(and anything else the UI build imports from the workspace) beforenpm run build -w propr-ui. - Make the root
deploy:hosted-uinpm script build@propr/sharedfirst as well, so the documented manual fallback works from a clean checkout of a tag. - Re-running the failed job of a tag run reuses the tag's broken workflow, so add a manual path to (re)deploy an already-published release: a new
.github/workflows/hosted-ui-deploy.ymlwithworkflow_dispatchinputrelease_tag(must matchv<semver>and exist), dispatched frommain, running in environmenthosted-ui-production(its deployment policy already allows branchmainand tagsv*). It checks out the tag (not main), confirms the root package.json version equals the tag version, runsnpm ci, builds shared then the UI, deploys with the same pinnednpx --yes [email protected] deploy --config wrangler.hosted-ui.tomland secrets, and runsnode scripts/verify-hosted-ui-release.mjswith RELEASE_VERSION. Prefer factoring the shared steps so the release job and the dispatch workflow cannot drift (a reusable workflow viaworkflow_callor one script), but keep the release job's existing credential-missing skip behaviour and summaries. Pin actions by SHA like the rest of the repo, least-privilege permissions, concurrency group per environment. - Update
docs/docs/operations/hosted-ui-release.md(re-deploy instructions now use the dispatch workflow) and the reconciliation messages in docker-images.yml. - Extend
test/hostedUiReleaseDeploy.test.mjsto assert shared is built before the UI in both paths and the dispatch workflow's guards. Prove the fix: in a clean checkout runnpm ci && npm run build -w @propr/shared && npm run build -w propr-uiand show it succeeds, and show that skipping the shared build reproduces the failure. Run actionlint and the existing workflow tests. - CHANGELOG under
## [Unreleased]### Fixed.
One focused PR ready for review. Do not merge, tag, dispatch or deploy.
Submitted by @integry through ProPR.
Activity
propr-dev commentedon Nov 1, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53417/claude-opus-5-5-fix-the-hosted-ui-release-20261101-1053-g99mainissue-3417-20261101-1053-claude-opus-5-5-g99🔍 Track Task Execution