Skip to content

Fix expected_runtime_artifact check for binary-only installs - #699

Merged
selfcontained merged 1 commit into
mainfrom
agt_463687eaaa42/agent-eaaa42
Jun 26, 2026
Merged

Fix expected_runtime_artifact check for binary-only installs#699
selfcontained merged 1 commit into
mainfrom
agt_463687eaaa42/agent-eaaa42

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • Simplified checkRuntimeArtifact() to only validate the platform Bun binary in dist/bun/, removing the stale apps/web/dist/index.html requirement that was failing on every binary install
  • Updated tests to cover binary-only validation (pass/fail)
  • Updated operations runbook to match the new check behavior

Context

The assisted update validation check expected_runtime_artifact required apps/web/dist/index.html to exist on the host filesystem. Since the source install path was removed and all installs now use prebuilt Bun binaries with embedded web assets, this file never exists — causing the check to fail and block assisted update validation on every update.

Test plan

  • Unit tests pass (pnpm vitest run apps/server/test/release-checks.test.ts — 19 tests)
  • Type checking passes (pnpm run check)
  • Release-readiness review: approved (2 rounds)
  • Backend security review: approved (no findings)

🤖 Generated with Claude Code

The check required apps/web/dist/index.html on the host filesystem, but
binary installs embed web assets into the Bun binary at build time — that
path never exists. Now only validates the platform Bun binary in dist/bun/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@selfcontained
selfcontained merged commit 7aa64af into main Jun 26, 2026
1 check passed
@selfcontained
selfcontained deleted the agt_463687eaaa42/agent-eaaa42 branch June 26, 2026 23:54
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