Skip to content

test(appproto): check support audit without row order - #1655

Merged
frahlg merged 1 commit into
masterfrom
fix/support-audit-test-order
Oct 16, 2026
Merged

frahlg merged 1 commit into
masterfrom
fix/support-audit-test-order

Conversation

@frahlg

@frahlg frahlg commented Oct 16, 2026

Copy link
Copy Markdown
Member

The support-grant test sometimes fails because it treats the last flushed audit row as the accepted staff call. The minute's rows come from a Go map and have no defined order.

Find the accepted call by its result, then check its staff identity, principal, actor and count. Fail if the accepted call is missing. This changes only the test.

Validation: the original test failed twice in 20 runs during full release checks. The corrected test passes 100 runs; the full appproto package passes with the race detector. No changeset is needed for this test-only fix.

@frahlg frahlg added the no-changeset PR intentionally exempt from the changeset requirement (dev tooling / non-shipping) label Oct 16, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T04:35:07.638217Z d5899d2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@frahlg
frahlg force-pushed the fix/support-audit-test-order branch 2 times, most recently from 22fc595 to ade5cbb Compare October 16, 2026 04:41
Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@frahlg
frahlg force-pushed the fix/support-audit-test-order branch from ade5cbb to 658b65d Compare October 16, 2026 04:43
@frahlg
frahlg merged commit cc1ee6d into master Oct 16, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changeset PR intentionally exempt from the changeset requirement (dev tooling / non-shipping)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant