Skip to content

dev CI red: managed_gc_scope_authority_unavailable in session-directory tests after #6337 #6342

Description

@probepark

Dev CI is red on dev 42d7e061: https://github.com/Yeachan-Heo/gajae-code/actions/runs/37230554481 (last green dev 22e47b0f: https://github.com/Yeachan-Heo/gajae-code/actions/runs/37227241418).

Attributed to #6337 (merged 2026-10-04T19:36Z). Full analysis with stack traces and blob comparison: #6337 (comment)

Failing tests:

  • shard-4-of-8, packages/coding-agent/test/session-manager/session-directory.test.ts:
    • managed session write protocol > completes after a crash following transcript unlink with a durable retained artifact root (throws managed_gc_scope_authority_unavailable)
    • managed session write protocol > advances a persisted root-only artifact receipt after a fresh-scope replay
    • managed session write protocol > still acquires the lock when a completed cleanup receipt no longer binds its target identity
  • shard-7-of-8, packages/coding-agent/test/session-resident-lifecycle.test.ts:
    • resident cache prune retention, lifecycle cleanup, and JSONL parity > cleans resident cache on session deletion, session-file switch, and close (SessionMigrationBusyError)

Between green and red, only packages/coding-agent/src/session/internal/managed-session-scope.ts changed among the code under test (blob 54ff1965 -> 1a793b49). The test files are identical. #6337's PR CI ran only the affected test files and did not include session-directory.test.ts.

Expected: both test files pass on dev again.

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

    P1High prioritybugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions