Repository navigation
Conversation
|
Benchmark coverage corrected (commit
Fresh Linux qualification is running before the retention comparison is retried. |
|
Review/update plan after checking current upstream: This remains useful as the independent measurement tool for #2153 and #2145. It also carries an older copy of #2160 ( The next useful gate is a fresh native SQLite smoke qualification with baseline, candidate and harness revisions pinned separately. Retain complete logical-data parity, equivalent cache and endpoint coverage, zero-drop/error checks, resource accounting and durability checks. Diagnostic/profile runs should stay separate from timing results, and benchmark-only workflows must retain their no-publish/no-deploy guards. The comparison markers currently in the body identify historical revisions. They should be updated only when a new comparison is actually requested and run. The successful qualification and comparisons remain valid for their recorded revisions; the excluded failed benchmark run is not evidence for a speed claim. I would land this tool-only change separately, then use it to measure the focused retention change and a narrower storage candidate against contemporary upstream. No new benchmark or rebase was performed during this discussion review. |
|
I’m rebasing the harness onto current upstream I’m preserving the old |
4de4194 to
6a924cc
Compare
|
Review feedback addressed (commit
Normal CI has also passed on this head. Post-push Chromium validation passed 148 checks with three explicit fixture-dependent skips against the unchanged server/frontend. No primary/diagnostic benchmark was requested or run, and no new speed claim is made. |
|
Review feedback addressed (commit
This is controller qualification with identical production code, not a new speed comparison. Historical measurements remain labelled with their original revisions. |
|
The next qualification after #2292 needs populated radio-history fixtures. The harness already discovers both radio tables, shifts their timestamps and rejects changed mappings/stale manifests; synthetic checks confirm those paths. The remaining gap is generated data: |
|
Trial merge with Each server loaded 26,250 retained transmissions and 78,750 observations from its matching S fixture. All three new tables were empty. I suggest a separately pinned current-schema A/A run, then deterministic radio retunes, observation-to-radio mappings and neighbor reports. The original measurements still apply to their published revisions. |
zfouts
left a comment
There was a problem hiding this comment.
Reviewed at 28f91906. Requesting changes. The harness itself is careful: CGO_ENABLED=1 is set explicitly and sqlite_version() comes from a real connection, so it can't benchmark a stub. It verifies independent baseline, candidate and harness SHAs, and it keeps reads and writes separated. Uploads go through a whitelist, and I found no new dependencies or private data. The problems are in how it hooks into CI. Master has moved 150+ commits since the base.
Blocking
- The automatic smoke run fails once rebased. The baseline is pinned to v3.15.0
7fa86fe1(sqlite-benchmark.yml:115), while the candidate is the rebased head. As your own latest comment says, the current server refuses that corpus because it has noobservers.idx(#2407), and the strict table manifest rejects 22 → 25 tables. Please re-pin the baseline to current master, teach the harness aboutobservers.idxand the new tables, and post a fresh A/A smoke run. - Remove the
deploy.ymlcoupling. The comment says the dispatcher lives indeploy.ymlonly because the new workflow isn't on the default branch yet, and that reason goes away when this merges. The coupling adds!inputs.sqlite_benchmarkto five production jobs, and master's newer jobs (server-race-shard,e2e-shard,release-artifacts) would each need it added by hand. It's also the only textual conflict. Instead, givesqlite-benchmark.ymlits ownworkflow_dispatchand revert thedeploy.ymlchanges. - Drop
deploy.ymlfrompaths. As written, every PR that touchesdeploy.ymlgets a 30-minute benchmark job, and with item 1 that job is red on unrelated PRs. tests/unit/test-sqlite-benchmark-ci.jshand-parsesdeploy.ymland evaluates four jobs'if:expressions in avmwith a fixedneedsset. If an unrelateddeploy.ymlchange makes one of those conditions read a job outside that set,test-all.shfails. With item 2 done, the test can check onlysqlite-benchmark.yml.
Notes, none blocking:
- Primary runs on shared
ubuntu-24.04runners are noisy. A 5% p95 difference is about the size of normal runner variance, so label hosted-runner results as indicative, or document a self-hosted path. - The Go version is pinned to
1.27.2withGOTOOLCHAIN=local, and someone will have to bump it by hand. - This is about 4.6k lines, roughly 1.85k of them Python, and the overlays reach into unexported fields (
db.msgCacheMu). Worth confirming the maintainers are willing to own that. #2153 already cites numbers from this harness, so landing a working version does have value.
…lite-review-20261202 # Conflicts: # .github/workflows/deploy.yml
|
Review feedback addressed (commit
@zfouts, the updated head is ready for your re-review. |
|
Kent Beck Gate: PASS (test quality) at |
zfouts
left a comment
There was a problem hiding this comment.
Re-reviewed at 86c58385. The four points from my review at 28f91906 are resolved:
- Smoke run after rebase.
- The baseline is pinned to the current master,
2df9ac7a. run.pyno longer counts the observeridxprimary key twice.- The fixture now fills the newer tables (radio retune, auxiliary-radio tags, a neighbour report, a catalogue proposal), and the test fails if they are empty.
- Freshening shifts
received_atandcatalog_keys.updated_at. - The automatic smoke on this head is green.
- The baseline is pinned to the current master,
deploy.ymlcoupling. Against master, the PR no longer touchesdeploy.yml. The workflow has its ownworkflow_dispatchwith a profile choice and SHA inputs.- Trigger paths.
pathslists only the harness, its workflow and its test, andtests/unit/test-sqlite-benchmark-ci.jspins that list. - The CI test. It now reads only
sqlite-benchmark.yml, so a change todeploy.ymlcan't breaktest-all.sh.
Outside scripts/sqlite-benchmark/, the workflow and its test, the only change is one line in test-all.sh. The workflow is contents: read with no secrets. It reads the PR body from the event file rather than interpolating it, requires every ref to be a full lowercase SHA, and checks out with persist-credentials: false. The fixtures are synthetic.
Two non-blocking notes:
- An edit can mask a red check. Editing the description without changing the request runs the workflow again on the same SHA with
profile = 'off'. Thebenchmarkjob is then skipped, and the PR's checks list shows the newest run, so an earlier failed smoke on that head would show as skipped. Skippingeditedruns at theon:level isn't possible, but havingrequestfail, or giving the ignored-edit path a differently named job, would keep the last real result visible. - The baseline pin needs moving by hand. The pinned baseline will need a manual bump after the next schema migration, or the automatic smoke on a later harness PR goes red again for the reason in point 1. For
pull_requestruns, defaulting togithub.event.pull_request.base.shawould keep the smoke run an A/A run automatically, with the pin kept as the dispatch default.
Whether the maintainers want to own a harness this size is still their call. On the code itself I have nothing blocking.
Fixes #2150. Related to #2146.
The native SQLite benchmark now has its own manual dispatch and automatically qualifies harness changes against upstream
2df9ac7a7. Baseline, candidate and harness use separately verified commits. The deployment workflow matches upstream. The benchmark runs when its own files change. Its workflow test exercises profile selection, full SHA checks and the published-evidence allowlist.The manifest recognizes both legacy observer row IDs and the current
observers.idxidentity. The synthetic fixture includes radio retunes, linked observations and a neighbour report. Receipt times advance with the fixture while device-reported times retain their original meaning. The documented small smoke run compares identical application code. Primary measurements on shared hosted runners are labelled indicative.The earlier v3.15.0 qualification used 22 application tables and 211 manifest columns. Those results retain their original revision. v3.15.0 run · October 20 qualification · Original qualification · Retention comparison · Optional-backend comparison