GeezerVison is showing github.com — feat(atlas-search): wire source registry into serving paths (#3125 slice 7) by dezren39 · Pull Request #14204 · developing-today/code
Conversation
dezren39
commented
Nov 24, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
#3125 slice 7 — the serving-side wiring named as the next slice when slice 6 (#14036) landed: thread the catalog/source-registry path from CLI/service config into ShardedBackend::with_source_registry, so served get-chunk responses carry occurrence attribution (root_id).
- atlas-core
source_registry::open_source_registry(path): opens the registry database at a path (creating the file and tables when absent) and returns the connection the builder consumes. Additive only, like registration itself. Re-exported from the crate root.
- atlas-search serve mode: new service-config key
source_registry (path). It is validated in load_service_settings — empty is an error, and setting it without shards is an error (attribution rides the shard fan-out; a registry nothing consumes must not be silently dropped). cmd_serve opens it and attaches it to the sharded backend.
- atlas-search standalone search: new
--source-registry <path> flag (env ATLAS_SOURCE_REGISTRY), mirroring --shards/ATLAS_SHARDS. Without --shards it fails up front with exit 2; with --shards it attaches to the fan-out backend.
- No-registry behavior is byte-identical to before: occurrence rows stay unattributed and the
root_id key stays absent (slice 6's contract, re-pinned by the existing occurrences tests).
Out of scope, unchanged: standalone get-chunk has no shard path today (it runs on the monolith backend), so there is nothing to attach there; the phase-2/3 laptop data backfills remain laptop-state work, per the notes on #3125.
Evidence
Ran on the laptop at a9c577f299c (base 4d9952d0faa), builds through fleet-build-lock:
cargo test -p atlas-core --test source_registry — 8/8, including the new oracle open_source_registry_creates_then_reopens_with_rows_intact: a fresh path resolves nothing; rows registered through one open still resolve after close + reopen by path (oracle: slice 5's exact-match resolution contract).
cargo test -p atlas-core --test occurrences — 6/6 (slice 6 attribution contract unchanged).
cargo test -p atlas-search service_config — 3/3, including the new service_config_source_registry_round_trips: config with shards + source_registry lands the path on ServeSettings; without shards it errors; empty errors.
- Full suites:
cargo test -p atlas-core -p atlas-search — 459 passed, 0 failed.
cargo fmt --all -- --check — clean.
Merge Danger
Low. All new behavior is opt-in behind a config key / CLI flag that default to absent; with them absent, construction paths are the pre-slice ones. The one behavior change for existing configs: a service config that (invalidly) carried an unknown source_registry key before would now be read — no shipped config sets it. Registry opening can create the registry tables in the named catalog file (the registry's documented additive ensure); it never alters existing rows.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T08:22:50Z",
"session_id": null,
"lane": null,
"host": "amd",
"worktree": "/home/user/git/worktrees/item-work-1-3125",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/worktrees/item-work-1-3125",
"repo": "developing-today/code",
"branch": "item-work-1/3125-slice7-serving-wiring",
"sha": "a9c577f299ca5761b2de5c46ab7cf2a4fade2bd8"
},
"auth_subject": "oc-code-06",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 24, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Caution
Review failed
The pull request is closed.
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 24, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|