feat: add subgraph check extension outcome to proposals screen#2661
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughPropagates two optional schema-check extension fields ( Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
📝 Coding Plan
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In
`@studio/src/pages/`[organizationSlug]/[namespace]/graph/[slug]/proposals/[proposalId]/index.tsx:
- Around line 480-481: The check status logic ignores the new extension fields
(checkExtensionDeliveryId, checkExtensionErrorMessage) when calling
isCheckSuccessful, causing badges to show passed while extension tasks failed;
update every call to isCheckSuccessful in the proposal component (the call
around where checkExtensionDeliveryId and checkExtensionErrorMessage are
available, lines ~483-497) to pass those extension fields as arguments so the
function can consider them when computing success, and ensure the
isCheckSuccessful signature usage matches (include checkExtensionDeliveryId and
checkExtensionErrorMessage in the parameter list you pass).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: f814ed6d-38db-4641-a3bb-4dd22cd5b0d9
📒 Files selected for processing (5)
controlplane/src/core/bufservices/check/getCheckSummary.tscontrolplane/src/core/repositories/ProposalRepository.tscontrolplane/src/core/repositories/SchemaCheckRepository.tscontrolplane/src/core/util.tsstudio/src/pages/[organizationSlug]/[namespace]/graph/[slug]/proposals/[proposalId]/index.tsx
Summary by CodeRabbit
New Features
Improvements
Checklist