Repository navigation
refactor(contracts): delete retired wire aliases after cutover - #1501
Closed
ScriptedAlchemy wants to merge 2 commits into
Closed
ScriptedAlchemy wants to merge 2 commits into
ScriptedAlchemy wants to merge 2 commits into
Conversation
Internal callers already use the current similar, redundancy, call-chain, symbol-line, and storage-telemetry contracts. Drop the unused compatibility shapes instead of keeping them as tombstone decoders or duplicate fields. Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
|
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Owner
Author
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.
Summary
3e6167b265(test(code-index): re-pin partitioned codec onto extractor.rust.v8) into this branch. No conflicts. Auto-mergedserving.rswithout restoring zero-based line fields.codex/tracedecay-total-redesign-plan-reopened.Findings (migrate-callers-then-delete-legacy-apis)
Fixed in this PR:
tracedecay_similar/tracedecay_redundancystill decoded the shipped pre-family request shapes only to reject them (Legacy*RequestV1+ untagged wire enums, pluslimit/max_pairsaliases). Internal callers already sendresult_limit/family_limit. Retired shapes now fail as ordinary invalid requests. The unreleased catalog windowprotocol revisions 1..=2is collapsed to the current revision (1..=1), matching every other binding.CallChainPrimitiveRequeststill accepted unreleasedfrom_id/to_id/max_depthaliases. No caller sent them. Aliases are deleted; tests assert they are rejected.SymbolPrimitiveRecordcarried both one-basedline/end_lineand zero-based rows “retained for compatibility adapters.” Construction sites already emit the one-based lines. Zero-based wire fields are deleted.StoreTelemetryEntryV1.rolewas a singular duplicate ofroleson an unreleased dashboard contract. The observatory caller now readsrolesonly, androleis removed from the generated contract.Absorbed from the tip (already fixed there; still compiling here):
ChangedCodeChunkSetV1no longer has areusedchunk list. Projection receipts usereused_count/reused_digest.CodeIndexDemandAdmissionV1::NotApplicableas a typed identity mismatch, and the duplicate unreachable arm is gone. Terminal publication park stays a typed failure.Left in place (not this wave):
socket_path, MCPidfallback fornode_id). Those are independently released protocols, not internal caller leftovers./api/storage/findingsis a family projection withkind_statusesthat current dashboard callers still use. Folding it into/api/doctor/findingswould be a second product cutover, not a delete-after-migration.Test plan
cargo test -p tracedecay-contracts --libfilters: retired similar/redundancy shapes, call-chain aliases, unknown symbol fieldscargo test -p tracedecay-contracts --test contracts_suitecurrent protocol revision onlycargo test -p tracedecay-dashboard-api --libshared-store telemetry rolescargo check -p tracedecay-code-index-runtime -p tracedecay-mcp -p tracedecay-application -p tracedecay-querycargo test -p tracedecay-mcp --lib --no-runandclone_lanes_report_one_unavailable_wire_protocolbranch_publication_requires_authoritative_project_identitymid_wait_branch_publication_surfaces_terminal_publication_parkcargo test -p tracedecay-query --test canonical_execution_equivalence --no-runcargo nextest run --workspacenot run