Skip to content

Bug: Bug: Sibling breadcrumb dispatcher tests share the Task.Run distinct-thread assumption fixed in #900 #905

Description

@drmoisan
  • Work Mode: full-bug

Summary

Issue #900 fixed two tests that obtained a "worker thread" from Task.Run and asserted a
thread-identity property against it. Task.Run guarantees only a thread-pool thread, never a
different one, so under parallel execution the constructing thread can be the same pooled thread
and the guard under test is never exercised.

The same assumption remains in sibling tests that were out of #900's declared scope, including a
third test in the very file #900 modified, at line 332.

Environment

(not provided in potential file)

Steps to Reproduce

(not provided in potential file)

Expected Behavior

(not provided in potential file)

Actual Behavior

(not provided in potential file)

Logs / Screenshots

(not provided in potential file)

Impact / Severity

(not provided in potential file)

Source

From: docs/features/potential/2026-09-17-sibling-breadcrumb-dispatcher-tests-share-taskrun-assumption.md

Activity

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions