Repository navigation
Conversation
Prior-Art: MoonCaves/rawclaw internal/agentproto/topics_session_fallback_contract_test.go L1-L214 (MIT) @767be51bcca2bdbccf2f63c5e95d3edcff147032
Owner
Author
|
Closing superseded tick690 draft in favor of the rebased current-main contract PR #173. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Session-topic lookups need regression coverage when the consolidated store is missing or contains only an unrelated session, and when a partial live catalog hides a retained session with the same prefix.
Reuse the existing 214-line fixture from PR #114 at immutable revision
767be51bcca2bdbccf2f63c5e95d3edcff147032, adding only its copy-site citation. The source registry records this as same-repository published-source reuse. The tests verify explicit scope rejection, absence of the target from consolidated storage immediately before fallback, exact retained lookup, and ambiguity between live and retained sessions.This adds coverage for #103. Its runtime indexing cost remains open.
Validation:
CGO_ENABLED=0 GOTOOLCHAIN=go1.27.3 go test -race -count=1 ./internal/agentproto: exit 0, 123.655s.0 issues.build (1.24.0),build (stable)andlinton the published head.