Gate fails: invite fixture Hq7mPz2K expired at 2026-11-19 08:00 UTC (channel_invites_rows_and_create) #943

Open
opened 2026-11-19 08:14:26 +00:00 by charles · 0 comments
Owner

cargo xtask ci fails since 2026-11-19 08:00 UTC on every branch: fluxer-ui --test channel_settings, test channel_invites_rows_and_create (crates/fluxer-ui/tests/channel_settings.rs:909).

The fixture fixtures/serveradmin/invites.json has the invite Hq7mPz2K with expires_at: 2026-11-19T08:00:00.000Z (created 2026-11-12, max_age 604800). The test expects its row to show 3 / 10 uses; now that the invite has expired the page no longer shows it as a live invite, and the assertion fails:

Hq7mPz2K: ["general", "Overview", "Permissions", "Invites", ..., "INVITER", "CODE", "USES", "EXPIRES", "ada", "forked", "17", "Never", "ada", "forked", "17", "Never"]

Same class as #788 (tmpVisit expired). Fix: give the fixture a far-future expiry (or have the test pin the store's clock), and look for other wall-clock-dependent fixtures.

Steps: on origin/shell 1dad87702, after 2026-11-19 08:00 UTC: cargo test -p fluxer-ui --test channel_settings channel_invites_rows_and_create.

Seen while running the gate for Shell 43 (#835); not fixed there (unrelated).

`cargo xtask ci` fails since 2026-11-19 08:00 UTC on every branch: `fluxer-ui --test channel_settings`, test `channel_invites_rows_and_create` (`crates/fluxer-ui/tests/channel_settings.rs:909`). The fixture `fixtures/serveradmin/invites.json` has the invite `Hq7mPz2K` with `expires_at: 2026-11-19T08:00:00.000Z` (created 2026-11-12, `max_age` 604800). The test expects its row to show `3 / 10` uses; now that the invite has expired the page no longer shows it as a live invite, and the assertion fails: ```text Hq7mPz2K: ["general", "Overview", "Permissions", "Invites", ..., "INVITER", "CODE", "USES", "EXPIRES", "ada", "forked", "17", "Never", "ada", "forked", "17", "Never"] ``` Same class as #788 (`tmpVisit` expired). Fix: give the fixture a far-future expiry (or have the test pin the store's clock), and look for other wall-clock-dependent fixtures. Steps: on `origin/shell` 1dad87702, after 2026-11-19 08:00 UTC: `cargo test -p fluxer-ui --test channel_settings channel_invites_rows_and_create`. Seen while running the gate for Shell 43 (#835); not fixed there (unrelated).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#943
No description provided.