fix(workflow): bypass guided discuss for custom workflow bootstrap#6207
fix(workflow): bypass guided discuss for custom workflow bootstrap#6207markusdi wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
ChangesCustom Workflow Run Guard Logic
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add 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 |
🔴 PR Risk Report — CRITICAL
Affected Systems
File Breakdown
|
Summary
Follow-up to #3188.
Custom workflow runs are driven by
activeEngineId/activeRunDirandGRAPH.yaml, not by the standard milestone state. During bootstrap, a custom workflow can legitimately have no active milestone, but the no-active-milestone gates still route into guided milestone discussion viashowSmartEntry()before the custom engine loop gets a chance to dispatch.This PR:
Test plan
node --import ./src/resources/extensions/gsd/tests/resolve-ts.mjs \ --experimental-strip-types \ --test --test-name-pattern "custom workflow bootstrap: no active milestone" \ src/resources/extensions/gsd/tests/deep-project-auto-loop.test.tsResult locally:
Result locally: build completed successfully.
Notes
Running the entire
deep-project-auto-loop.test.tsfile in this local environment still has unrelated existing model-policy fixture failures in other subtests (no candidate models). The new regression itself passes when run by name, andnpm run build:corepasses.Summary by CodeRabbit
Bug Fixes
Tests