fix: Remove MaxCreatedTime from DomainAuditLogFilter#7725
fix: Remove MaxCreatedTime from DomainAuditLogFilter#7725natemort merged 1 commit intocadence-workflow:masterfrom
MaxCreatedTime from DomainAuditLogFilter#7725Conversation
Signed-off-by: Joanna Lau <118241363+joannalauu@users.noreply.github.com>
MaxCreatedTime from DomainAuditLogFilterMaxCreatedTime from DomainAuditLogFilter
🔍 CI failure analysis for ad76d58: The codecov CI job is failing due to a pre-existing test failure in TestWatchLoopDisabled, which is unrelated to this PR's changes to the domain audit filtering layer.Issue: Codecov Test Failure (Unrelated to PR Changes)The codecov CI job is failing due to a test failure in: Root CauseThe test This test expects an error to be returned but receives Assessment: Unrelated to This PRThis PR modifies files in the domain audit filtering area:
The failing test is in the
DetailsThis failure has persisted across multiple CI runs for this PR, confirming it is not a flaky test but rather a pre-existing broken test in the codebase that predates these changes. Code Review ✅ ApprovedClean removal of redundant Rules ❌ No requirements metRepository Rules
1 rule not applicable. Show all rules by commenting Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
lgtm, could you include the unit test command? |
Done. Do you know why the codecov test is failing? I don't believe my changes affect that test. |
It's a flaky test. it's being addressed in #7728 |
What changed?
MaxCreatedTimefromDomainAuditLogFilterWhy?
MaxCreatedTimeandPageMaxCreatedTimein domain audit filteringPart of: #7602
How did you test it?
go test -v ./common/persistence/sql -run TestGetDomainAuditLogs TestSelectFromDomainAuditLogsPotential risks
N/A, logic stays the same
Release notes
N/A
Documentation Changes
N/A
Reviewer Validation
PR Description Quality (check these before reviewing code):
go testinvocation)