Skip to content

app/: documents say the PDF was never uploaded, as server/ did; invite_member golden no longer flaky - #112

Merged
ndbroadbent merged 1 commit into
mainfrom
app-pdf-never-uploaded
Dec 3, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
app-pdf-never-uploaded

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Two small fixes, found by the web parity run and by main's CI. Both deploy after cutover.

PDF wording. A document snapshot whose PDF was never uploaded failed with "the file was never uploaded". server/ said "the PDF was never uploaded" for documents, and "the file was never uploaded" for everything else, which is unchanged. The web parity run showed the difference (VisualCI build 464, screenshots/app/build/failed/*). app/tests/screenshots_seed.rs now asserts the wording.

Flaky golden. invite_member_checks_who_may_invite_and_its_limits failed on main at 1fa307b. A member's since is formatted to the second, so when a second ticked over between creating the memberships and the invitation, the golden's time placeholders were numbered differently (<time:2> where the golden had <time:1>). The test now sets both memberships to one fixed time, so they're always <time:2>, and the golden is updated to match.

Tests: on agents-build-1, with throwaway postgres:17 and RustFS on 59000, cargo fmt --check passes and the full cargo test --locked passes.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…; invite_member's golden pins its memberships' time

A document snapshot whose source was never uploaded failed with "the file was never uploaded". server/ said "the PDF was
never uploaded" for documents, and "the file" for everything else. The web parity run, VisualCI build 464, showed it on
the failed build page. The screenshots seed test asserts the wording.

invite_member_checks_who_may_invite_and_its_limits failed on main at 1fa307b: a member's since has seconds, so a second
ticking over between the memberships and the invitation changed the golden's time placeholders. Both memberships now
have one fixed time.
@ndbroadbent
ndbroadbent force-pushed the app-pdf-never-uploaded branch from ae10a70 to 42628a3 Compare December 3, 2026 06:59
@ndbroadbent
ndbroadbent merged commit 35208fb into main Dec 3, 2026
12 checks passed
@ndbroadbent
ndbroadbent deleted the app-pdf-never-uploaded branch December 3, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant