Skip to content

Kafka offset ownership tests fail to compile after namespace separation #709

Closed

Description

@thomhurst

Summary

The latest main CI run fails while compiling KafkaOffsetOwnershipTests on both target frameworks. The tests reference MessageTracing and Disposition without importing their new namespaces, preventing every build from reaching tests.

Reproduction

Run dotnet build -c Release at a122cee. CI evidence: https://github.com/thomhurst/Relayer/actions/runs/43456694452 (Build step, both Build & Test jobs).

Expected and actual

The test project should compile. Instead, KafkaOffsetOwnershipTests.cs lines 36 and 108 report CS0246 for MessageTracing, and lines 48 and 113 report CS0103 for Disposition.

Acceptance criteria

Activity

  1. added
    bug
    P1
    on Nov 13, 2026
  2. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    The earlier main blocker is cleared: #688 merged and run 43430791548 succeeded. Run 43456694452 is a separate compilation regression introduced by the namespace separation in #698. #710 fixes it with the existing Relayer.Transports import; both target-framework builds and all 10 filtered real-Kafka offset ownership cases pass locally. Draft review requested.

  3. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    Implemented on main by #715, commit 6b7ec57: KafkaOffsetOwnershipTests.cs imports Relayer.Transports, exactly matching the complete fix in superseded #710 (now closed). Fresh origin/main 367d4c3 contains the import; CI 43472775931 compiled these tests. No local rerun is needed for already-shipped source.

    Red-main follow-up: CI 43472775931 fails ConcurrentReceiveAllocationTests.Pending_cross_thread_receives_allocate_only_native_scopes_after_warmup on both net10/net11, not Kafka compilation or infrastructure. Its failed log is retained at /Users/tom/git/Relayer-evidence/main-ci/failed.log. Existing investigation #687 and diagnostic PR #705 track this distinct failure. Released main-ci and attempted both linked locks; issue-687 and pr-705 returned HELD by other workers. No unchanged CI retry or competing experiment was started. The old run 43460895321 and newer 43473112960 are terminal; recent #687 evidence records an unresolved counter/callback discrepancy. No merged allocation correction, finished-parent route, stale completed research scope or replacement resolves #687; its native children/prerequisites are empty. #713 concerns a different pending-settlement allocation, #433 sampled trace retention, and on-hold #348 is an unproven historical Windows candidate, so none supplies an evidenced Linux correction. No reversible choice supports changing equality, warmup, GC or parallelism. This closes the fulfilled compilation issue while the separately locked allocation investigation remains open.

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

    P1bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions