Skip to content

test: show captured stderr when owned-deadline finalizer defect assertion fails in Linux CI #842

Closed

Description

@agenteinstinct1-max

Observed

On PR #835 at head d247e74, the Linux unit job failed in packages/core/test/lib/effect.test.ts:

runScopedEffect > cancelling an unsettled scoped effect surfaces finalizer defects and reports to stderr

The failing assertion is at line 57: the check that a captured stderr line contains "finalizer boom". In the same run, the preceding stderr-marker assertion at line 56 ("[owned-deadline] abandoned finalizer defect:") passed, and the earlier assertions on the cancel result (it is an Error, and its message contains "finalizer boom") passed.

The assertion output does not show which stderr lines were actually captured, so the cause is not known. Local runs on the same files pass (core suite, CI-style env), so it has not been reproduced locally.

Scope

Measurement only. This issue asks for the captured stderr lines, count and cancel result to be printed when that assertion fails, so the next failure explains itself. It does not claim a cause or a fix.

Related: #828, #838 (other owned-deadline test failures).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions