fix(opencode): use neutral admission rejection guidance - #2002
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe admission-rejection recovery message is shortened to remove unconditional severe-finding guidance. Regression coverage now tests both ChangesAdmission rejection recovery
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
dnlrsls
left a comment
There was a problem hiding this comment.
The recovery guidance is now neutral across typed admission rejections while preserving the decision class, opaque diagnostics, relaunch instruction, and recovery payload. The regression coverage includes the zero-finding incomplete case.
🔗 Linked Issue
Closes #2000
🏷️ PR Type
type:bug— Bug fix (non-breaking change that fixes an issue)type:feature— New feature (non-breaking change that adds functionality)type:docs— Documentation onlytype:refactor— Code refactoring (no functional changes)type:chore— Build, CI, or tooling changestype:breaking-change— Breaking change (fix or feature that changes existing behavior)📝 Summary
📂 Changes
internal/assets/opencode/plugins/review-result-artifacts.tsinternal/assets/review_plugin_recovery_test.goout_of_scopeandincompletewith zero findings while asserting diagnostic opacity and payload preservation.🧪 Test Plan
Unit Tests
Go Format
E2E Tests (Docker required)
go test ./...)go run ./internal/gofmtcheck)cd e2e && ./docker-test.sh)E2E was not run locally because Docker is unavailable (
docker: command not found). GitHub CI remains authoritative for the Docker run.🤖 Automated Checks
status:approvedtype:*Labelgo test ./...go run ./internal/gofmtcheckcd e2e && ./docker-test.sh✅ Contributor Checklist
status:approvedtype:*label to this PRgo test ./...)go run ./internal/gofmtcheck)cd e2e && ./docker-test.sh)Co-Authored-Bytrailers💬 Notes for Reviewers
The admission decision intentionally remains the only native detail surfaced through the opaque binding. This change removes an unsupported causal inference without exposing native diagnostic prose or altering capture, preservation, or retry semantics.
Receipt-driven development was disabled by maintainer decision after the existing local lineage became unrecoverable due to an artifact-subject schema mismatch. Delivery proceeds under ordinary repository policy; no review receipt is claimed.
Summary by CodeRabbit