Skip to content

fix(ci): prepare historical VM rollback snapshots - #31775

Merged
nwparker merged 1 commit into
mainfrom
nwparker/fix-vm-rollback-ci-snapshots
Oct 22, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/fix-vm-rollback-ci-snapshots

Conversation

@nwparker

@nwparker nwparker commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​15 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​13

The VM runtime-store rollback check fails in shallow CI checkouts because its pinned historical source trees are absent. Snapshots extracted under the system temp directory also cannot resolve installed dependencies.

Fetch a pinned commit only when its tree is missing, and link each extracted snapshot to the checkout's installed dependencies (using a junction on Windows). Include runner and cross-version driver changes in the workflow selector so changes to this check execute it.

The historical commits, source archives, rollback operations, and expected-failure assertions remain unchanged.

Validation: all 11 rollback controls pass with the default temp directory, including the two required invalid-file failures. A separate shallow checkout starts without either historical commit, fetches both, and passes the same controls. Changed-code quality, formatting, and whitespace checks pass. Two independent reviews cover the exact committed head.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2d9998ec-ebe5-4ef8-8c37-eda060a79537
📥 Commits

Reviewing files that changed from the base of the PR and between ea10994 and 51cad7f.

📒 Files selected for processing: 2
  • .github/workflows/pr.yml
  • config/scripts/run-ephemeral-vm-runtime-store-rollback-repro.mjs

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

📝 Walkthrough

The rollback reproduction script now fetches a requested commit tree when it is unavailable locally and links the repository's node_modules into the extracted source. The script accepts exit statuses listed in options.allowedExitCodes, defaulting to [0]. The workflow now includes changes to the reproduction script and cross-version test among the inputs that trigger the compatibility check.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 51cad

No actionable regression is established in the rollback check changes. The historical snapshots are available from origin refs, and the extra accepted status is limited to the availability probe; the change is mergeable with normal CI checks.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description explains the problem, implementation, scope, and validation results. However, it does not follow the required template and omits the required Linked Issue, explicit Visual Proof respon… Rewrite the description using the repository template. Add an actual issue link after "Fixes #", state "N/A" with a reason for Visual Proof, complete the Testing and Checklist sections, and address the remaining required sections or mark th…
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. (1 skipped: 1 … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: preparing historical VM rollback snapshots for CI.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the problem, implementation, scope, and validation results. However, it does not follow the required template and omits the required Linked Issue, explicit Visual Proof response, Testing checklist details, and checklist confirmations.

Resolution

Rewrite the description using the repository template. Add an actual issue link after "Fixes #", state "N/A" with a reason for Visual Proof, complete the Testing and Checklist sections, and address the remaining required sections or mark them as not applicable where appropriate.

Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. (1 skipped: 1 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@nwparker
nwparker merged commit 95d9682 into main Oct 22, 2026
65 of 68 checks passed
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