Skip to content
This repository was archived by the owner on Nov 6, 2026. It is now read-only.

Require packed end-to-end verification for every PR - #148

Merged
kjgbot merged 2 commits into
mainfrom
feat/pr-e2e-verification-gate
Jul 20, 2026
Merged

kjgbot merged 2 commits into
mainfrom
feat/pr-e2e-verification-gate

Conversation

@kjgbot

@kjgbot kjgbot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Outcome

Every Factory PR now passes a fail-closed packed-artifact lifecycle in the existing required package check, and every npm publish repeats that lifecycle after the final version bump.

Enforced proof

  • Records PR head SHA and tested checkout SHA in an uploaded attestation.
  • Installs the npm tarball in a clean consumer.
  • Imports only public root and ./hosted exports and smokes the packaged CLI.
  • Drives discovery → triage → implementer/reviewer dispatch → dispatch writeback.
  • Proves duplicate discovery does not respawn or rewrite.
  • Reconciles terminal completions → ready merge gate → one completion writeback.
  • Proves terminal replay idempotency and competing-host owner/epoch fencing.
  • Uploads the attestation from CI and publish workflows.

The methodology documents higher adapter-preview, live-canary, and failure-injection tiers, with head-specific evidence and cleanup receipts required according to risk. Issues #141–#146 remain the automation track for those deeper disposable environments.

Local verification

  • 50 test files / 1,009 tests passed.
  • Packed E2E: 9 checks passed on Node 20.19.5 and Node 26.5.0.
  • Build passed.
  • git diff --check passed.

Relates to #141

@coderabbitai

coderabbitai Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@kjgbot, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 45 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a6130fb4-30cd-4654-aad9-75a7ed7b3f25

📥 Commits

Reviewing files that changed from the base of the PR and between af34005 and f955d7b.

📒 Files selected for processing (8)
  • .github/PULL_REQUEST_TEMPLATE.md
  • .github/workflows/ci.yml
  • .github/workflows/publish.yml
  • .gitignore
  • docs/pr-end-to-end-verification.md
  • package.json
  • scripts/packed-e2e-scenario.mjs
  • scripts/verify-packed-e2e.mjs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/pr-e2e-verification-gate

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kjgbot
kjgbot marked this pull request as ready for review July 20, 2026 22:06

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces an end-to-end verification pipeline for the packaged control plane, including a PR template, documentation on verification tiers, and scripts to automate package packing, installation, CLI smoke testing, and scenario execution. The review feedback points out a cross-platform compatibility issue in the verification script where executing npm directly via execFileSync will fail on Windows, and provides a suggestion to resolve it to npm.cmd on Windows systems.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread scripts/verify-packed-e2e.mjs Resolved
@kjgbot

kjgbot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Addressed the Windows portability review in f955d7b: the verifier now resolves npm to npm.cmd on win32. The complete packed-package E2E still passes all 9 checks locally.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant