Skip to content

Fix the hosted UI release deploy (app.propr.dev) added in #3409. Check current upstream main first. #3417

Closed

Description

@propr-dev

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:

  1. In .github/workflows/docker-images.yml job hosted-ui/Deploy hosted UI, build @propr/shared (and anything else the UI build imports from the workspace) before npm run build -w propr-ui.
  2. Make the root deploy:hosted-ui npm script build @propr/shared first as well, so the documented manual fallback works from a clean checkout of a tag.
  3. 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.yml with workflow_dispatch input release_tag (must match v<semver> and exist), dispatched from main, running in environment hosted-ui-production (its deployment policy already allows branch main and tags v*). It checks out the tag (not main), confirms the root package.json version equals the tag version, runs npm ci, builds shared then the UI, deploys with the same pinned npx --yes [email protected] deploy --config wrangler.hosted-ui.toml and secrets, and runs node scripts/verify-hosted-ui-release.mjs with RELEASE_VERSION. Prefer factoring the shared steps so the release job and the dispatch workflow cannot drift (a reusable workflow via workflow_call or 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.
  4. Update docs/docs/operations/hosted-ui-release.md (re-deploy instructions now use the dispatch workflow) and the reconciliation messages in docker-images.yml.
  5. Extend test/hostedUiReleaseDeploy.test.mjs to assert shared is built before the UI in both paths and the dispatch workflow's guards. Prove the fix: in a clean checkout run npm ci && npm run build -w @propr/shared && npm run build -w propr-ui and show it succeeds, and show that skipping the shared build reproduces the failure. Run actionlint and the existing workflow tests.
  6. CHANGELOG under ## [Unreleased] ### Fixed.

One focused PR ready for review. Do not merge, tag, dispatch or deploy.


Submitted by @integry through ProPR.

Activity

  1. propr-dev commented on Nov 1, 2026

    @propr-dev
    ContributorAuthor

    🤖 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:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3417/claude-opus-5-5-fix-the-hosted-ui-release-20261101-1053-g99
    • Base Branch: main
    • Worktree: issue-3417-20261101-1053-claude-opus-5-5-g99

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions