Skip to content

fix: converge status tags across lifecycle churn - #381

Merged
linkdata merged 5 commits into
mainfrom
fix/issue-380-status-metric-convergence
Aug 23, 2026
Merged

fix: converge status tags across lifecycle churn#381
linkdata merged 5 commits into
mainfrom
fix/issue-380-status-metric-convergence

Conversation

@linkdata

@linkdata linkdata commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary\n\n- Replace sampled status counts with a coalescing atomic metric mask marked at Request, pending-Request, Session, active-Session, and error lifecycle transitions.\n- Preserve the accepted-WebSocket invalidation before ConnectFn and converge selected tags when between-pass churn returns a count to its prior value.\n- Centralize dirty-tag and Session registry bookkeeping; keep private state grouped and public documentation concise and current.\n- Add faithful HTTP/WebSocket regressions for issue 380 and the related Session-count ABA path.\n\n## Testing\n\n- go generate ./...\n- go vet ./...\n- gofmt -l .\n- gofumpt -l on changed Go files\n- staticcheck ./...\n- golangci-lint run\n- gosec ./...\n- go build ./...\n- JAWS_REQUIRE_NODE=1 go test -race -coverprofile=/private/tmp/jaws-coverage.out ./...\n- JAWS_REQUIRE_NODE=1 go test ./...\n- focused lifecycle and testing/synctest tests: 10 race-enabled runs\n\nFixes #380

@linkdata
linkdata merged commit 8855af9 into main Aug 23, 2026
7 checks passed
@linkdata
linkdata deleted the fix/issue-380-status-metric-convergence branch August 23, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant