[codex] Remove preconditions from test spec schema#28
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
💤 Files with no reviewable changes (8)
📝 WalkthroughWalkthroughThe changes systematically remove support for the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Summary
preconditionsfrom the shared FinalRun test spec shapepreconditions:in YAML specs as an unsupported key during CLI parsingpreconditionshandling from goal compilation, authored run snapshots, and test generation guidanceWhy
preconditionsis no longer part of the supported test spec schema. This change makes that break explicit instead of silently tolerating the field in YAML, compiled goals, and manifest metadata.Developer Impact
Specs that still include
preconditions:will now fail validation withcontains unsupported key "preconditions". Existing specs need to delete that key before runningfinalrun checkorfinalrun test.Historical run artifacts are left as-is. The report renderer does not depend on
preconditionsstructurally, so older artifact JSON can continue to load without a migration.Validation
npm installnpm run build --workspace=@finalrun/commonnpm run build --workspace=@finalrun/device-nodenpm run build --workspace=@finalrun/goal-executornpm run build --workspace=finalrun-agentnode --test packages/cli/dist/src/workspace.test.js packages/cli/dist/src/finalrun.test.js packages/cli/dist/src/testRunner.test.js packages/cli/dist/src/reportTemplates.test.jsnpx tsx --test packages/report-web/src/renderers.test.tsSummary by CodeRabbit
Refactor
preconditionsfield in test specifications. Specs containing this field will now fail validation with an unsupported key error.Tests