Skip to content

fix(userflags): give the message window overrides their test cases - #1405

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/userflags-override-cases
Sep 4, 2026
Merged

fix(userflags): give the message window overrides their test cases#1405
bmc08gt merged 1 commit into
code/cashfrom
fix/userflags-override-cases

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

ResolvedUserFlagsTest > every Overrides field has a case has failed on code/cash since #1403 merged, taking :apps:flipcash:shared:userflags:testDebugUnitTest down on every PR.

That PR made the message edit and delete windows overridable, adding messageEditWindow and messageDeleteWindow to Overrides without matching entries in OverrideCases. The guard test exists to catch precisely this — its doc says a new field on Overrides has to gain a case here — so it was doing its job.

Adding the two cases restores the guard and brings both fields under the resolve() checks the rest of the list already gets: that an override lands on its own field, leaves the others alone, and is not reported for Overrides.None. Both override values differ from the server baseline (45s against 15s, 120s against 60s), per the note above the list, so a field reading the wrong override cannot pass by coincidence.

Making the edit and delete windows overridable (#1403) added
messageEditWindow and messageDeleteWindow to Overrides without adding
matching entries to OverrideCases. The guard test that exists to catch
exactly that has failed on code/cash since the merge, taking the
userflags module's test task down on every PR.

Adding the two cases restores the guard and puts the fields under the
resolve() checks the rest of the list gets. Both override values differ
from the server baseline, per the note above the list, so a field
reading the wrong override cannot pass by coincidence.
@bmc08gt bmc08gt self-assigned this Sep 4, 2026
@github-actions github-actions Bot added the type: fix Bug fix label Sep 4, 2026
@bmc08gt
bmc08gt merged commit f4223db into code/cash Sep 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant