next.js
Use and enforce exhaustive switch statements for work unit store
#81577
Merged

Use and enforce exhaustive switch statements for work unit store #81577

unstubbable
ijjk ijjk added created-by: Next.js team
ijjk ijjk added type: next
ijjk
unstubbable unstubbable marked this pull request as ready for review 1 year ago
unstubbable unstubbable requested a review from gnoff gnoff 1 year ago
unstubbable unstubbable requested a review from lubieowoce lubieowoce 1 year ago
unstubbable
unstubbable Add eslint rules to enforce exhaustive `switch` for workUnitStore
fb5e4350
unstubbable Simplify eslint rules
ba6dd1d3
unstubbable Switch all `workUnitStore.type` checks to exhaustive switch statements
85f4749d
unstubbable Fix a typo
bbe3bebe
unstubbable Handle two missed switches
0da6e68e
unstubbable Handle new case after rebasing
72857a92
unstubbable unstubbable force pushed from f58f8d55 to 72857a92 1 year ago
gnoff
gnoff approved these changes on 2025-07-14
unstubbable Use top-level functions instead of closures
6b903148
unstubbable unstubbable merged 1c1d9b5f into canary 1 year ago
unstubbable unstubbable deleted the hl/work-unit-store-exhaustive-check branch 1 year ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone