Skip to content

Release [B-30-1] - #132

Merged
niqzart merged 32 commits into
mainfrom
staging
Aug 12, 2026
Merged

Release [B-30-1]#132
niqzart merged 32 commits into
mainfrom
staging

Conversation

@niqzart

@niqzart niqzart commented Aug 12, 2026

Copy link
Copy Markdown
Member

No description provided.

marlowe-agent and others added 30 commits August 8, 2026 17:53
Invoice MUB listing had no order_by, so pagination order was
undefined under Postgres. The tutorship and subject fixtures created
rows without deleting them, and ProxyAuthDataFactory generated
user_id with no uniqueness guarantee, letting leftover data from
earlier tests collide with later tests. Teardown uses delete_by_kwargs,
matching the notifications user_contact fixture, so it stays safe
even when a test explicitly deletes the row itself.
random_part could be zero-length, so two subjects sharing a
prefix/suffix within one batch could get an identical name. Postgres
has no defined tie-break for ORDER BY on equal names, causing
test_subject_autocompleting to flake on the resulting ambiguous order.
Added a per-item unique letter to guarantee distinct names.
created_at is a client-side timestamp (datetime.now()) with no
uniqueness guarantee, so two promocodes created in the same batch
could tie. Postgres has no defined tie-break for ORDER BY on equal
values, causing test_promocodes_listing to flake on the resulting
ambiguous order. Added id as a secondary sort key to the query and
the test's own expected-order sort.
@niqzart niqzart self-assigned this Aug 12, 2026
@niqzart niqzart added ci:covered If coverage checks should be run on the PR ci:migrated If migration checks should be run on the PR labels Aug 12, 2026
@niqzart
niqzart merged commit 9693d56 into main Aug 12, 2026
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:covered If coverage checks should be run on the PR ci:migrated If migration checks should be run on the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants