Repository navigation
[CI] Reduce localization audit and relay setup work in CI - #25665
Conversation
|
This run croaked 😵 The workflow encountered an error before any progress could be reported. Please check the link below for details. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📥 CommitsReviewing files that changed from the base of the PR and between ef9a12d and eef687821455720dd15074c4fd60932ba7d50d99. 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe localization audit now classifies string literals and template literals, with tests for candidate collection and nested JSX traversal. Localization extraction scope now excludes recognized test-source paths and retains other configured paths. The relay integration job no longer requests native runtime preparation or Electron package caching. Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to The localization checks preserve extraction for mixed or renamed production changes, and the relay tests do not appear to depend on the removed setup. No merge-blocking behavior issue is established; normal PR checks remain pending. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 3 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
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. Comment |
f660ee0 to
ef9a12d
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Narrowed the relay integration job: switched
native-runtimetononeand dropped the Electron archive cache. The two relay tests only reachnode:sqlite,ws,tweetnacl,pgand pure-JS runtime modules, so neither the compiled native addons nor the Electron binary are needed; the general unit shards keep their desktop setup. - Guarded localization classification in
audit-localization-coverage.mjssoclassifyStringNoderuns only forStringLiteralLike,NoSubstitutionTemplateLiteralandTemplateExpressionnodes, which is the exact setstringPartscan emit from. Child traversal and JSX handling are unchanged, so the finding inventory is preserved. - Added an
isIgnoredTestSourcemirror of the extractor's test exclusions tolocalization-extraction-change-scope.mjs, so ignored-test-only changes skip extraction. The mirror is a subset of the extractor'signore, and it skips nothing the extractor processes. - Pinned
config/i18next.config.tsextract.input/extract.ignorein the routing test, with path matrices covering near-matches, catalogs, assets, mixed changes and both sides of source↔test renames. - Added exact-array coverage for templates, nested class properties, generated JSX and traversal into callbacks in
audit-localization-coverage.test.mjs. - Merged a duplicate
WorktreeRemovalTargettype-only import indelete-worktree-failure-toast.tsx(the post-f660ee0source delta); behavior is identical and it clears the pre-existing lint failure. - Documented the October 5 localization gate work and its explicit limitations in
docs/reference/ci-runner-efficiency.md.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
ef9a12d to
eef6878
Compare
eef6878 to
9a0a311
Compare

ELI5
CI does less repeated work while keeping the existing checks and test cases.
What Changed
Why
Removing work these checks do not use shortens runner occupancy without adding jobs or cutting coverage. Extraction already overlaps other preflight work, so conditional extraction savings do not equal full-PR savings.
Linked Issue
N/A — internal CI efficiency follow-up.
Visual Proof
N/A — CI scripts and workflow setup only; no application UI change.
Testing
9a0a311f; desktop native modules, Electron binary and Electron cache state were absent before and after. Artifact digest, raw outcomes, source bindings and actual terminal success independently verified.9a0a311f.The final branch preserves current main’s source-filter refactor. Both normal PR checks and the fresh Node 26 proof passed on
9a0a311f. Historical timing results above remain tied to their original pinned source.The comparisons exclude setup, queues and other checks. No full-PR percentile or concurrency-limit improvement is claimed. Relay setup savings are unmeasured.
Review
Reviewed the source, raw case outcomes, inventory equality, timing arithmetic, fault detection and source restoration independently.
Agent skill upstream boundary
Checklist