flux-pr-1076
graphql-go-tools (Go) · W2 · GPT-5.4
Tests passed. 1/1 commands passed. Strength: strong.
go test -C v2 ./... -count=1 -timeout=300sPartial score: 1/1
Trajectory
codex · partial order onlyprovider-native trajectory captured; validation and decision steps are appended with coarse ordering only
Quality
Equivalence Reasoning
stylistic
Code Review
The patch captures much of the subscription-worker refactor direction, but likely does not fully satisfy the intended change due to unsubscribe cleanup semantics drift and a potential event-loop blocking risk, with additional divergence in CI/race-default implementation.
Both GraphQL WS handler `unsubscribe()` methods dropped `h.updater.Done()`. The intended fix scope was client-close double-cleanup; removing Done from unsubscribe can break upstream cleanup/trigger shutdown semantics.
`enqueue` performs a blocking send to `s.work` and `handleTriggerUpdate` calls it inline for each subscription. If any worker is slow and buffer fills, trigger event handling can stall globally.
The test no longer asserts trigger creation/cleanup counts, reducing regression detection for resource lifecycle behavior after the concurrency refactor.
Instead of making `make test` race-enabled by default, the patch reroutes `ci` to `test-race` and adds a separate Windows CI branch. This is a behavioral divergence from the intended simplification and may leave non-CI/other call sites non-race by default.