Repository navigation
Conversation
This was referenced Nov 23, 2026
This was referenced Nov 24, 2026
Closed
…ace-summary-progress-20261123
…ace-summary-progress-20261123 # Conflicts: # .github/workflows/ci.yml
…ace-summary-progress-20261123 # Conflicts: # .github/workflows/ci.yml
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.
Closes #352. Addresses the storage side of web #250.
The TRACE trailer describes the requested hops. Each reached hop adds one on-air SNR byte, including zero dB. Rank a tag’s representative packet by the shorter of those two arrays. Duplicate broker hearings retain their existing packet count. The list continues to read the precomputed tag summary.
Migration 098 scores each incoming TRACE at the database write boundary, so an older ingest binary in a rolling upgrade cannot replace a better observation with a longer itinerary. The one-time repair compares saved evidence with packets still retained for that tag. Equal scores keep the saved observation. Tag identity, counters, scope and timestamps survive, including tags whose best packet has expired.
On a restored preview database, 1,007 of 3,552 tags had a more complete retained packet than their saved summary. The final repair statement took 104 ms on that copy and left zero such mismatches. The transaction was rolled back. Size and concurrency will affect the duration on a larger installation. The PostgreSQL tests cover a mixed-version writer, zero dB, duplicate hearings, overlong SNR arrays, pagination and retention.
November 26 qualification
Dev now contains the dependency fix from #355. The refreshed Traces branch passes its own PostgreSQL, plan, backup, security and generated API checks. Tested against dev
5fb32926f719at731a9f9a9060. CI · Preview handoffNovember 29 review
The trace repair now follows upstream migrations 089–095 as
096_trace_summary_reached_hops.sql. It also tolerates the functions and trigger left by an earlier draft. PostgreSQL regression tests passed for pagination, mixed-version writes, retained summaries and repeat migration. This draft at17da425d8de5merges cleanly into dev0c1d7b7d0d84. The resulting files match both GitHub’s test-merge tree and the tested draft head. CI · Preview handoffNovember 30 review
Upstream 2.3.4 uses 096 for telemetry-stopped alerts and 097 for reading sensors. The Traces repair now follows both as
098_trace_summary_reached_hops.sql. The PostgreSQL tests applied it over the earlier 088 and 096 draft filenames and verified pagination, mixed writers and retained evidence. Tested at5f0e72ff2767against devd67ab0c7a9d9. CI · Canadaverse handoff