Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Heads up on a collision: I hit the same red Your proof is the stronger of the two on the point that matters most — you ran the exact CI shard command ( The difference is headroom. This PR moves Both keep test parity (42 tests, 41 Unless you object, I'll land #127018 and close this one as superseded. If you'd rather land yours, say so and I'll close mine instead — the important thing is that |
|
Closing as superseded by #127018, which landed as To restate the reasoning from my earlier comment so the record is complete: both PRs were valid fixes for the same breakage, and this one had the better direct proof (you ran the exact CI shard command; I relied on hosted CI plus a directory-scoped oxlint). The deciding factor was headroom. Moving the ~45-line selects block landed Nothing here was wrong — it was a genuine race between two sessions that both hit the same red gate. If the selects block is worth its own file on its own merits rather than as a size fix, that stands as a separate change; |
What Problem This Solves
Fresh pull requests fail
check-lint-core-5becauseui/src/pages/cron/view.test.tsexceeds the enforced 1,000-line test limit. This currently blocks otherwise unrelated PRs, including #127013.Why This Change Was Made
The select rendering tests already form an independent behavior boundary. Moving that existing
describeblock intoview.selects.test.tsbrings the original suite below the limit without adding a suppression, changing assertions, or weakening lint policy.User Impact
No runtime behavior changes. Fresh PR CI can pass the core lint stripe again.
Evidence
ui/src/pages/cron/view.test.ts:1124:4 File has too many lines (1004).node --import tsx scripts/run-oxlint-shards.mts --only=core --split-core --core-stripe=5/5 --threads=1— 0 warnings, 0 errors across 4,718 files.vitest ... view.test.ts view.selects.test.ts— 42 passed with the same test inventory.oxfmt --checkandgit diff --check— passed.Authored by @steipete with Amp.