ci: publish commit-addressed build artifacts#1548
Merged
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
e23f2e7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9fdb6adf.agentv.pages.dev |
| Branch Preview URL: | https://ci-av-3ae-build-artifact.agentv.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CI now publishes a short-lived build bundle tied to the exact source commit and runner platform after the normal
bun run buildsucceeds. Future workers can use that bundle as a reuse input only when the manifest proves the commit SHA,bun.lockhash, platform, Bun version expectation, and output paths all match.The agent instructions now make the reuse boundary explicit: research workers should avoid installs/builds/tests/evals unless justified, implementation workers must rebuild packages they changed, and dependency/cache directories are not part of the build artifact contract.
Bead
av-3ae
Changed Files
.github/workflows/ci.ymlAGENTS.md.agents/workflow.md.agents/verification.mdVerification
.github/workflows/ci.ymlwith PyYAML and asserted the build artifact steps, artifact name, retention, and expression balance.bash -nagainst the extractedStage build artifactscript.git diff --check.ce-code-reviewsub-agent review was skipped because the available sub-agent tool only permits spawning when the user explicitly asks for delegation; manual diff scan found no issues.Not run:
bun install,bun run build, full tests, or evals. This PR only changes GitHub Actions and repo instructions, and GitHub Actions remains the authoritative merge gate.Post-Deploy Monitoring & Validation
Watch the next CI runs on this branch and after merge, focusing on the
Buildjob steps namedStage build artifactandUpload build artifact.Healthy signals: the
Buildjob passes, the artifact namedagentv-build-<os>-<arch>-<sha>is attached, andmanifest.jsonincludes the expected commit, lockfile hash, runner OS/arch, Bun version fields, timestamp, and fourdistpath globs.Failure signals: missing expected
distpaths, forbidden dependency/cache/tsbuildinfo path errors, upload failures, or an artifact missing the manifest. Rollback is reverting the workflow upload/staging change or temporarily removing the upload step if CI is blocked. Validation window: first three CI runs after merge, owned by AgentV maintainers.