Repository navigation
fix(ci): keep cron advanced fields private - #200935
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR makes the Automations editor’s ADVANCED_FIELDS constant private to its module. Example: Knip audits ADVANCED_FIELDS in the cron delivery view.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it makes the smallest correct repair to an unused export still present on main, with no actionable patch findings; the required CI gate remains red. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Automations editor passes form errors into the Advanced component, which uses this field list to reveal settings needing attention. flowchart LR
A[Automation editor] --> B[Advanced component]
C[Form errors] --> B
D[Private field list] --> B
B --> E[Advanced settings disclosure]
Technical reviewBest possible solution: Keep the field list private in its existing module without changing validation, rendering, or Knip exclusions. Do we have a high-confidence way to reproduce the issue? Source confirms an unconsumed export on main, and the PR reports baseline-versus-candidate Knip verification; no target code was executed during this read-only review. Is this the best way to solve the issue? Removing only export fixes the declared ownership violation without deleting the field list, weakening the audit, or changing consumers. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 61daf4cf6171. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
PR surfaceSource 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 17, 2026, 10:02 PM ET / November 18, 2026, 03:02 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
What Problem This Solves
The dependency check on main fails because the cron delivery view exports
ADVANCED_FIELDSwithout any external consumer.User Impact
No user-visible change. This restores the unused-export contract for the Automations UI.
Why This Change Was Made
Keep the existing constant private to its owning module. Its values, type, and same-file validation behavior are unchanged; no caller or public SDK contract uses the export.
Evidence
ADVANCED_FIELDSon the baseline and passes on the candidate. The production export scan also removes this finding; it still reports unrelateddescribeSpawnAuthin the subagent billing module, which is separately owned. This does not claim whole production Knip is green.Current CI
Ready-head CI44225882510 completed with one failing test:
chat-composer-overflow.browser.test.tsx > fits and dismisses stacked context at390px (rtl)could not find its reply preview at line169; the aggregate also failed. All55jobs are terminal (25passed,28skipped,2failed), including successful security-fast. The tested merge changes only the cron export keyword; the chat test, its owners, configuration and dependencies are unchanged. The automatic classifier had no comparable main evidence and reported unknown. Maintainer review accepted source-based inherited attribution; this PR does not fix or weaken the chat test.