Skip to content

test: TestRT05_ListChangedDuringInFlightVerification_IsFollowedUp flaky (follow-up verification not applied) #1984

Closed

Description

@Dumbris

TestRT05_ListChangedDuringInFlightVerification_IsFollowedUp (internal/runtime/lifecycle_quarantine_verify_test.go:245) failed once in CI and does not reproduce locally.

Failure (End-to-End Tests (ubuntu-latest, 1.26), "Run unit tests" step, PR #1949 head 0733283c1): https://github.com/smart-mcp-proxy/mcpproxy-go/actions/runs/44865908087/job/136742826225

lifecycle_quarantine_verify_test.go:296  expected: "changed"           (rec.Status)
lifecycle_quarantine_verify_test.go:297  expected: "armed definition"  (rec.CurrentDescription)
--- FAIL: TestRT05_ListChangedDuringInFlightVerification_IsFollowedUp (0.77s)

The earlier assertions (coalescedReturned, notified == 1) passed, so the coalesced notification was delivered during the in-flight verification, but the follow-up verification had not written the changed record when the outer call returned. The test comment says "No polling: the outer call returns only after its follow-up ran", so either the follow-up can run after the outer call returns, or it can be skipped.

The PR did not touch the quarantine or runtime lifecycle code. Locally the test passed 80/80 with -race -count=40, both with default GOMAXPROCS and with GOMAXPROCS=1.

Activity

  1. added
    kind/test
    on Nov 21, 2026
  2. added a commit that references this issue on Nov 23, 2026
    1af1b42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/test

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions