GeezerVison is showing github.com — feat(reports-index): searchable /reports index feeding C7 and C8 (#15020) by dezren39 · Pull Request #15105 · developing-today/code
Conversation
dezren39
commented
Nov 25, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Refs #15020 (C6 slice of #9574).
What
New pkgs/reports-index/: a searchable reports index for the PM-stack /reports surface. It is a derived view over the existing report records — no parallel report store.
- Indexed fields: report ID, title, kind, project/domain, period, create/update time, status, tags, freshness for live pages, canonical links to source issues/incidents/pages/periods.
- Search matches title, summary, tags, linked IDs and indexed body text; filters for kind, project, dates, status and tags; deterministic sort (updated/created/title with report-ID tiebreak) and pagination.
- Event refresh: create/update events apply idempotently (event ID + record version) inside the 15-minute freshness budget; a failed refresh retains the last-good index and surfaces
stale/unavailable.
- C7/C8 handoff: each entry exposes stable metadata links —
canonical (/reports/<id>), timeline (/reports/<id>#timeline, for C7) and an atlas_ingest metadata block (for C8) — links from the one index; no duplicated timeline composition or Atlas embedding logic, and a JSON snapshot of metadata links for ingestion.
- Phone-first: rendered index is designed at 320px (viewport meta, fluid layout); empty/error states preserve the active search/filters and explain index freshness.
Verification (remote only)
fleet-command.yml fallback run (direct dispatch blocked by TLS #13185):
- Run 45617601918: failure — a wrong expectation in my own date-filter test (the rollup seed also fell in the asserted window); fixed in 55d82a0.
- Run 45618352779: success —
python3 -m unittest discover -s pkgs/reports-index/tests -v (status/conclusion only; logs not read).
Tests cover: search by title / linked issue / body text / tag, all filters, deterministic pagination + stable sort, event idempotency + stale-version rejection, refresh-failure last-good retention + stale surfacing, the 15-minute freshness budget, C7/C8 metadata links, 320px rendering, and empty-state filter preservation.
Not in scope per the issue: incident content authoring, quota actions, rollup/timeline composition, Atlas embedding, unattended reset automation.
{
"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-25T13:00:58Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "bbfc8aa3a3b4f3e3d399b7e76beb6962c0daa5b9"
},
"auth_subject": "xaltha",
"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.
Derived index over existing report records (no parallel store): search
over title/summary/tags/linked IDs/body text, kind/project/date/status/tag
filters, deterministic sort + pagination, idempotent create/update event
refresh inside a 15-min freshness budget with last-good retention and
stale/unavailable surfacing, stable canonical/timeline/atlas-ingest
metadata links for C7/C8, phone-first 320px rendering whose empty/error
states preserve filters and explain freshness.
Refs #15020, parent #9574.
The rollup seed's period (2026-11-24) also falls in the original window;
narrow the window so only the quota report matches, as intended.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 53 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
e952c711-7b91-4d0e-9269-6002ece064d0
Commits
-
Reviewing files that changed from the base of the PR and between e8c2bc5 and 55d82a0.
Files selected for processing: 3
-
pkgs/reports-index/README.md
pkgs/reports-index/reports_index.py
pkgs/reports-index/tests/test_reports_index.py
- 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.
|
Verification status (2026-11-25 ~07:41 CST follow-up, metadata only — logs not read): verified-green. Remote verification via the fleet-command.yml fallback on developing-today/fleet: run 45618352779 concluded success. The earlier run 45617601918 failed on this lane's own date-filter test expectation, which was fixed in 55d82a0 before the successful re-run — not a runner/command-form failure. PR GitHub checks at check time: CodeRabbit NEUTRAL, Proof SKIPPED (no other CI checks).
|
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.
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.
|