Skip to content

test(ui): remove unused dashboard cron fixture - #180697

Closed
steipete wants to merge 1 commit into
mainfrom
ci/remove-unused-dashboard-helper-397881
Closed

steipete wants to merge 1 commit into
mainfrom
ci/remove-unused-dashboard-helper-397881

Conversation

@steipete

@steipete steipete commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Scheduled CI reports emptyCronList as an unused exported fixture in ui/src/e2e/session-dashboard.test-support.ts.

User Impact

No runtime or test behavior changes. The fixture has no consumers and can be deleted.

Why This Change Was Made

Remove the unused helper instead of keeping a dead private declaration or weakening the export check. Other dashboard fixtures and the unrelated core fixture with the same name remain unchanged.

Evidence

  • Scheduled run 39788114249, job 119857226208, identifies the export.
  • Repository-wide reference search found no consumer of this UI fixture.
  • Fresh frozen-lockfile install, UI E2E typecheck, scoped oxlint, formatting, and diff check passed.
  • UI Knip no longer reports emptyCronList. Its four remaining approval-presentation exports are repaired separately in fix(ui): keep approval presentation helpers private #180693; the full scan remains accurately recorded as exit 1.
  • Independent P0–P2 review: scoped-clean. No behavioral regression test was added for deletion of an unused declaration.

CI inheritance

Exact-head CI run 39814332327 reports check-test-types errors in extensions/twitch/src/outbound.test.ts: undefined expectTarget at line 141 and expectTargetError at line 147. That source is byte-identical between the captured main baseline and the tested merge. Main already repairs both assertions in 271329fd32df15f9347099872d1c35e756597cad; this PR changes only the unused UI fixture. The inherited-only native landing exception retains this failure as failed CI, alongside passing focused UI typecheck, lint, format, and review evidence.

@clawsweeper

clawsweeper Bot commented Oct 22, 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.

@steipete
steipete marked this pull request as ready for review October 22, 2026 14:31
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T14:33:16.277059Z 567cb5d Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete enabled auto-merge (squash) October 22, 2026 14:37
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 22, 2026
@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. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 22, 2026
@clawsweeper

clawsweeper Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR deletes the unused emptyCronList fixture from the dashboard E2E support module.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-verified cleanup with no findings; broad exact-head validation is still pending.
Proof confidence 🐚 platinum hermit (4/6) This maintainer-authored, test-support-only deletion changes no shipped behavior; consumer references and the exact diff establish its scope.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
Reason: The maintainer-authored deletion resolves an unused-export diagnostic without weakening checks or changing runtime behavior.

Merge readiness

✅ Ready for maintainer review

This PR is a useful, minimal cleanup with no actionable findings; current main still contains the unused fixture, and CI remains pending.

Priority: P3
Reviewed head: 567cb5dc655d7523f7aecf7cee674d5cff081a70

Before merge

None.

Findings

None.

Agent review details

How this fits together

The support module supplies board snapshots and screenshot helpers to dashboard browser tests; the deleted cron-response factory has no consumers.

flowchart LR
  A[Dashboard fixtures] --> B[Dashboard browser tests]
  A --> C[Grant failure browser test]
  B --> D[Control UI test harness]
  C --> D
Loading

Technical review

Best possible solution:

Delete the unused fixture while retaining the existing dashboard consumers and independent CLI fixture.

Do we have a high-confidence way to reproduce the issue?

Source inspection confirms an exported UI fixture with no consumers; no tests or target code were executed during this read-only review.

Is this the best way to solve the issue?

Removing the entire unused declaration is the smallest complete fix and preserves the export check without adding an exception.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against ad505b96e763.

Provenance checked

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 200c4f5 adds ui/src/e2e/session-dashboard.test-support.ts:5 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 200c4f57c687; files: ui/src/e2e/session-dashboard.test-support.ts)
  • RoboClaw: Raw commit fd01817 adds ui/src/e2e/session-dashboard.test-support.ts:1 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: fd018170c943; files: ui/src/e2e/session-dashboard.test-support.ts)

PR surface

Tests -9. Total -9 across 1 file. Added test files: 0.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This removes dead test scaffolding without changing user-facing behavior.
  • 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 October 22, 2026, 10:46 AM ET / 14:46 UTC.

@vyctorbrzezowski

Copy link
Copy Markdown
Member

Thanks @steipete for the cleanup. Closing as already addressed by #183134, which removed the same emptyCronList export from ui/src/e2e/session-dashboard.test-support.ts. It remains absent on current main, so no further change is needed here.

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.

2 participants