Skip to content

fix(ci): keep cron advanced fields private - #200935

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ci-private-cron-advanced-fields-20261118
Nov 18, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ci-private-cron-advanced-fields-20261118

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The dependency check on main fails because the cron delivery view exports ADVANCED_FIELDS without 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

  • Main run 44223496584, dependency job 134531661312, reports this exact export in both production and full-tree Knip scans.
  • Exact-source native proof with Knip 6.40.0 and the real importer graph: the full-tree export scan reports ADVANCED_FIELDS on the baseline and passes on the candidate. The production export scan also removes this finding; it still reports unrelated describeSpawnAuth in the subagent billing module, which is separately owned. This does not claim whole production Knip is green.
  • Targeted formatting, type-aware lint, and the UI typecheck pass. Fresh full-context local review found no actionable P0–P3 issue.
  • Local proof uses macOS and Node 26.13.0; hosted CI supplies broader platform checks. This export-only change does not alter rendering or runtime behavior.

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.

@vincentkoc vincentkoc self-assigned this Nov 18, 2026
@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vincentkoc
vincentkoc marked this pull request as ready for review November 18, 2026 02:48
@vincentkoc
vincentkoc enabled auto-merge (squash) November 18, 2026 02:48
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 18, 2026
@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR makes the Automations editor’s ADVANCED_FIELDS constant private to its module.

Example: Knip audits ADVANCED_FIELDS in the cron delivery view.

  • Before: The constant is exported despite having no external consumer.
  • After: The constant stays local, preserving its existing validation use.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A correct minimal cleanup supported by source inspection and reported native Knip verification; the required CI failure still needs disposition.
Proof confidence 🐚 platinum hermit (4/6) This export-only cleanup changes no user-visible behavior, so shipped-entry-point proof is unnecessary.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: The dependency audit rejects an unused internal UI export.
Reason: The maintainer-authored repair restores the existing audit contract with no product behavior change.

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
Reviewed head: 6efba72616856ee3c7b8450d8f26a4f830863809

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

  • Advanced field validation list keeps the original intent (dce9dd1: The Automations redesign grouped secondary settings under Advanced and revealed them when validation required attention.)

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

PR surface

Source 0. Total 0 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 1 0

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is a narrow unused-export cleanup with no user-visible runtime change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 17, 2026, 10:02 PM ET / November 18, 2026, 03:02 UTC.

@vincentkoc
vincentkoc disabled auto-merge November 18, 2026 03:04
@vincentkoc
vincentkoc merged commit e592d76 into main Nov 18, 2026
158 of 161 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-private-cron-advanced-fields-20261118 branch November 18, 2026 03:07
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant