Repository navigation
TOOLS-149: add immutable configuration resource keys - #184
Merged
Merged
Conversation
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.
Context
TOOLS-149 is the first PR in the ordered TOOLS-149..155 stack. Portable configuration needs durable resource keys without replacing installation-local authority IDs. This PR targets
mainfrom creation base0f90d092a5c431aadb7e27c4ff126e48a059d786.Changes
Review Notes
Independent primary review and focused confirmations for every corrective increment completed with no material findings or blocking gaps. Each checked candidate matches its committed/reviewed tree. Original failures and incomplete evidence reports remain retained alongside their explicit closures; no qualification waiver was used.
Migration does not invent historical keys for rows physically deleted before keys existed. Known retained tombstones receive durable keys. Schema downgrade is unsupported; strict API consumers should upgrade with the service.
A diagnostic WAL test normalizes its own sidecar permissions so the intended nonempty-WAL check is independent of host umask. Production path-safety validation is unchanged. Two exact gosec findings are public resource-type discriminator strings, documented with line-local dispositions; full lint/security coverage remains enabled.
Hosted protocol tests observed SQLite BUSY during optional history reads. The scoped fixtures now await committed observations before querying, while retaining all wire/history assertions. The exact contending SQLite statement was not reproduced locally; production BUSY bounds, operation-scoped pooling and best-effort/no-replay recovery remain unchanged. The browser regression retains a bounded 150-ms delayed-close experiment reproducing the original stale-edit race.
Test Plan
Passed locally, with unchanged-scope evidence reused explicitly:
make -C agent-gateway verifyand mandatory commit hooks.go test -race -tags=integration ./internal/httpproxy -count=1passes.npm run ui:test-dev(190 tests),npm run ui:typecheck,npm run format:check, frontend build,npm run ui:verify-generated, andnpm run ui:verify-supply-chain.npm run ui:test-browser(33 Chromium scenarios and complete capture inventory); representative desktop/narrow light/dark captures inspected.make -C agent-gateway test-browser-accessibilityandmake -C agent-gateway test-security.go tool govulncheck ./...: no called/imported-package vulnerabilities; two required-module advisories are unreachable per scanner.Fresh exact-head PR-event CI run 42353858705, attempt 1, passed all 19 required owners including real Docker qualification and Required for
dd0af008b7c6335f62144e22a12b6994a6ba579b. Earlier red heads remain red; none substitutes for this result. No local Docker, installed-resource adoption, merge, or deployment claim.