Skip to content

fix: require PS6136 retention before successful publication - #1014

Merged
jxsl13 merged 1 commit into
mainfrom
fix/ps6136-retention-dominance
Sep 13, 2026
Merged

jxsl13 merged 1 commit into
mainfrom
fix/ps6136-retention-dominance

Conversation

@jxsl13

@jxsl13 jxsl13 commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Summary

Require the exact retention append-store to dominate successful buffer-slot publication in PS6136. Finding a conditional append somewhere in the factory is not enough to prove that the returned buffer remains in the owner's retained list.

Parallel regression controls retain the genuine typed allocator/result/owner prerequisites and cover unconditional retention plus both conditional-append branches. Empty early-error returns remain supported; no tests are removed or weakened.

Validation

The false admission was reproduced on the default-branch source before applying the fix. Independent local source review and focused repeated race tests passed. The normal pre-commit gate passed all 2,003 tests and the self-scan. The normal pre-push gate also passed: formatting, vet, build, all parallel race tests, staticcheck, generated docs, plugin build, benchmark smoke tests and self-scan.

This is a correctness follow-up to the retained-workspace analysis, discovered during issue #890. That detector remains unfinished and requires its own implementation, review, PR and CI validation.

@jxsl13
jxsl13 merged commit 746406b into main Sep 13, 2026
14 checks passed
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