ci: the release bump fails on the dirty tree it creates itself #44
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.23) × (1 − Review Confidence (0.42)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.23 · 4 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.350
Rapid Merge
rapid_merge
0.100
Diff Size
diff_size
0.096
Real PR Conversation Timeline
2 items
Approved
Approved these changes.
yaron2
CasperGN
What
Release npm Packageshas never reached its publish steps. Run 35244174925 dies at Bump versions across the workspace:pnpm versionrefuses to run against a dirty working tree, and the root manifest bump on the preceding line is what dirties it. So the first per-package bump always fails, before a single tarball is packed.Two things this is not:
--no-git-tag-version. That suppresses the commit and the tag; the clean-tree check runs regardless.The fix is
--no-git-checks, which is pnpm's documented flag for exactly this (--no-git-checks Don't check if working tree is clean).This is a first-use bug rather than a regression — the workflow has two runs total, one cancelled and this one.
Test plan
Verified against a clean clone at
a49b670, reverting between each step:ERR_PNPM_UNCLEAN_WORKING_TREEatpackages/core, byte-identical to CI--no-git-checks→ all four manifests and all threesrc/version.tsfiles stampedprettier --checkclean; workflow YAML re-parsesmake ci— not applicable, no source or test files touchedNotes for whoever releases next
packages/n8n/package.json(6 lines, no semantic change). That is pnpm's JSON writer, not this change —pnpm pkg setproduces an identical diff. One-time, stable on re-run.latestis0.1.0for all three packages while the manifests say0.1.1, which is the tail of this same bug:0.1.1was committed but never published.@diagrid/n8ndoes now exist on the registry, so the "FIRST PUBLISH IS MANUAL" chicken-and-egg noted in the publish step is satisfied. Worth confirming its trusted publisher is configured (diagridio/typescript-ai/npm-release.yaml, environmentnpm) before a non-dry run — otherwise n8n fails on credentials after core and mastra have already published.