Repository navigation
feat: complete bounded search, discovery and result summaries - #27
Open
Nerver-zip wants to merge 25 commits into
Open
Nerver-zip wants to merge 25 commits into
Nerver-zip wants to merge 25 commits into
Conversation
This branch has not been deployed
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.
v0.3.0 candidate
Source
4a3bd3c5658fd2bbb17251d58f85b802346c8b10implements the search, discovery, summary and opening-family changes. The candidate is available for independent Evalis integration and maintainer validation. Keep this PR open and unmerged.Closes #17
Closes #18
Closes #19
Closes #16
Hardening
eco_anyaccepts 500 raw A00–E99 codes. Other lists accept 16 raw values each and 64 combined. The query string remains limited to 8192 bytes. A complete ECO set still excludes games without usable ECO metadata. Typed normalization, cursor identity and parameterized SQLite predicates are preserved.result_anywithout increasing its 16-byte per-game projection. Exhaustive result-set fixtures match the SQL planner and an independent CPI instance, including unknown results, repeated positions, terminal occurrences, and the depth boundary.Production acceptance
The packaged CLI completed discovery-to-PGN flows on both published snapshots. The loaded candidate image completed both flows, all new capability probes, ECO pagination, exact selective summary checks, cancellation recovery, and a software-only v0.2.0 upgrade and rollback. All 37 active dataset file digests, saved scalar cursors, and legacy response digests matched through the cycle.
The private Compose workload used the default 512 MiB, two CPUs, two search workers and one aggregate slot. All 80 legacy and all 40 scalar mixed-load requests succeeded, and 39 of 40 discovery requests succeeded. The cgroup peaked at 536,879,104 bytes with reclaim and swap active. No OOM or unexpected restart occurred.
The first advisory-cold start exceeded the health window during a concurrent image build and reached application readiness after 199 s. The advisory-cold repeat reached Compose healthy in 71.44 s and the explicit restart in 71.75 s. Run the documented probe on the integration host to establish its readiness timing. Docker evidence and rollback commands.
The compact path converted the common multi-result Explorer cases from work-limit responses to 200. Start-position p95 was 22.05 ms for Elite and 162.87 ms for Masters. The rare Elite result matched the SQL-backed digest and improved from 10.84 to 1.34 ms p95.
The 10% p95 interactive target held across all seven paths in the matched repeats and in the median paired changes for each baseline and collection. The initial +28.03% Elite event and +67.62% Masters tail excursions are retained with all per-arm p50, p95 and p99 figures. The largest median paired increase was 7.77%. Paired interactive results.
The full local verification gate and the candidate source CI passed. The final branch CI passed on
392e147fab63c53e4c5bf051fc00f226bc5db773, including the unified gate and reproduction runner. That commit contains the measurements, verification utilities and documentation.Candidate packages and compatibility
Build the exact source with the checked-in production Dockerfile. The Linux x86-64 CLI comes from the AMD64 image. The package includes license files, release notes, a manifest, and checksums.
af4dac2565910ad391675245c9b19a52c351eb7021e324a1f1af813baef580841d6b8d3db9b28d631dc178da8028aa6a5d1e1dacc6e99d9974fbbaa5bbc8f6f9Package manifest · Checksums · Candidate notes
Reuse
dataset-masters-otb-r3,dataset-elite-online-r1,search-masters-otb-r3-d40-v1, andsearch-elite-online-r1-d30-v1. Catalog schema and search-index format remain version 1 with zero persistent growth, and HTTP remains under/v1/. No migration or index rebuild is required. The v0.2.0 rollback restores the original feature set using the same mounts.Evalis handoff
Use the per-collection capabilities from
GET /v1/collections. The client owns ECO family expansion. Keep game pages independent from on-demand exact summaries, debounce approximate requests, cancel obsolete work, and preserve snapshot-local IDs with their versions. Treat 408, 422, 429 and candidate truncation as explicit states. Deliberately allowlist the new routes and parameters in the same-origin gateway. See the consumer contract. Evalis remains unchanged.