fix: gate LLRT publishing behind explicit dispatch#25
Merged
Conversation
Rationale: CodeMode releases must not rebuild or republish the unrelated LLRT 0.2.0 package family. Release 0.4.2 retains an immutable correction for the failed 0.4.1 publish.\n\nRejected: Rewriting the existing v0.4.1 release would obscure release history and still trigger the unrelated LLRT workflow.\n\nRisk: LLRT releases now require an explicit main-branch workflow dispatch with publish enabled; normal PR and main validation remains automatic.\n\nTested: mise exec -- pnpm --filter @robinbraemer/llrt test -- native-prebuild-workflow.test.ts; mise exec -- pnpm run ci
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.
Intent
Ship the OpenAPI/CodeMode reliability fix safely: preserve fully pre-resolved schemas for AI search while avoiding oversized sandbox graphs and repeated work, then publish a new immutable CodeMode patch without rewriting the failed 0.4.1 release. The release must not trigger or republish unrelated LLRT 0.2.0 packages; LLRT publishing should require an explicit main-branch dispatch. The user explicitly authorized autonomous no-mistakes/Luna validation, PR merge, and production shipment.
What Changed
@robinbraemer/codemodefrom0.4.1to immutable patch version0.4.2.publish=trueonmain, and serialized runs without cancelling active publishes.Risk Assessment
✅ Low: The scoped changes are well-bounded and correctly isolate LLRT publishing behind an explicit main-branch dispatch while bumping CodeMode to 0.4.2.
Testing
After building the missing workspace LLRT entry, focused CodeMode, publication, LLRT workflow, and QuickJS end-to-end checks passed. Manual evidence confirms fully resolved schemas remain searchable, oversized sandbox transports are rejected, LLRT publishing requires explicit main-branch dispatch, and no transient worktree artifacts remain.
Evidence: Release validation evidence
Real QuickJS search returned resolved schema types (string,integer); oversized transport was rejected before marshalling; workflow contract confirms dispatch-only LLRT publishing.Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
pnpm ... vitest run test/spec.test.ts test/codemode.test.ts test/data-only.test.ts test/package-publication.test.tspnpm ... vitest run test/native-prebuild-workflow.test.tspnpm ... vitest run test/quickjs-executor.test.tsReal QuickJS CodeMode search and oversized transport checksgit status --short --branch✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.