Skip to content

test(account): pin legal hold applied_at - #294

Open
kcrmin wants to merge 1 commit into
developfrom
test/legal-hold-applied-at
Open

kcrmin wants to merge 1 commit into
developfrom
test/legal-hold-applied-at

Conversation

@kcrmin

@kcrmin kcrmin commented Oct 26, 2026

Copy link
Copy Markdown
Member

What and why

AccountClosurePersistenceIntegrationTest has failed on every run since 2026-10-02 UTC. Its legal holds took applied_at = now() from the database, but the test then released them at fixed instants derived from 2026-08-03. Once the wall clock passed that date, the release violated released_at >= applied_at. Both holds now carry an explicit applied_at on the test timeline. No production code changes.

Replaces #292, which is closed.

Verified

  • The class passes 17/17. Without the fix, the same 2 tests fail.
  • The full ./gradlew test passes: 1054 tests, 0 failures. The one skip is the opt-in exporter test.

Checklist

  • Tests pass
  • No schema or API change
  • No secrets or personal data

applied_at defaulted to now(), so releasing holds at fixed instants
violated released_at >= applied_at once the clock passed 2026-10-02.
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