fix(ci): close freeform issue-quality template bypass - #523
Conversation
Unclassified API/freeform issues no longer skip the gate; non-trusted authors are closed with template guidance (including lidge-jun#521-shaped near-miss headings).
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughUnstructured issues are no longer skipped by validation. Bug-like near-miss reports receive targeted template guidance, generic freeform issues are rejected, and the workflow uses distinct closure messaging for missing templates. ChangesIssue quality enforcement
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Issue
participant enforceIssueQuality
participant validateIssue
participant BotComment
Issue->>enforceIssueQuality: submit unstructured issue
enforceIssueQuality->>validateIssue: validate without resolved kind
validateIssue-->>enforceIssueQuality: return invalid result
enforceIssueQuality->>BotComment: write template-required guidance
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
Issue is not a structured form; skipping validation.path).not_plannedwith clear guidance to use Bug/Feature/Documentation/Provider templates; near-miss bodies like Description/Reproduction/Log entry (499 client_closed_request errors during web-search tool usage #521-shaped) get a bug-template-specific message.Test plan
node --test .github/scripts/issue-quality.test.cjs(77 pass)devthat live gate behavior still loads scripts from default branchmainuntil this change is promotedworkflow_dispatchon an untrusted freeform issue after promotion tomainDeployment note
Issue events load
enforce-issue-quality.yml(and checked-out scripts) from the repository default branch (main), notdev. Landing ondevalone does not change live issue-quality behavior until promotion tomain.Summary by CodeRabbit