Skip to content

feat(stovepipe): request history api - entities/mappers - #669

Open
mnoah1 wants to merge 3 commits into
mainfrom
mnoah1/stovepipe-history-read-model
Open

feat(stovepipe): request history api - entities/mappers#669
mnoah1 wants to merge 3 commits into
mainfrom
mnoah1/stovepipe-history-read-model

Conversation

@mnoah1

@mnoah1 mnoah1 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Intent:

  • Make retained request logs the authority for history availability.
  • Establish the public and domain projections used by history reads.

Changes:

  • Add history entity and mapper coverage and align the RFC with log-only lookup semantics.
  • Return not found when no request log records are retained.
  • Remove unused, undeployed history fields without reserving their names or tags.

Stack

  1. @ feat(stovepipe): request history api - entities/mappers #669
  2. feat(stovepipe): request history api - by request ID #670
  3. feat(stovepipe): request history api - by request URI #671
  4. feat(stovepipe): request history api - controller wiring #672

Summary:
Intent:
- Make retained request logs the authority for history availability.
- Establish the public and domain projections used by history reads.

Changes:
- Return not found when no request log records are retained.
- Reserve metadata-backed proto fields and add history entity and mapper coverage.
- Align the request history RFC with log-only lookup semantics.

---

<sub>Generated by the 🪄 [pr-create](https://sg.uberinternal.com/code.uber.internal/uber-code/devexp-agent-marketplace/-/blob/claude-code/plugins/dev/uber-dev/skills/pr-create/SKILL.md) skill in devexp-agent-marketplace</sub>
// Newer request that caused a superseded state. Empty when not applicable.
string superseded_by_request_id = 5;
// Build associated with the occurrence. Empty when no build applies.
string build_id = 6;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These haven't been used yet so deleting them here in backwards incompatible way. They're already unused elsewhere in the code/db schema.

@mnoah1 mnoah1 changed the title feat(stovepipe): define request history read model feat(stovepipe): request history api - define request history read model Sep 3, 2026
@mnoah1
mnoah1 marked this pull request as ready for review September 3, 2026 01:03
@mnoah1
mnoah1 requested review from a team, behinddwalls and sbalabanov as code owners September 3, 2026 01:03
@mnoah1 mnoah1 changed the title feat(stovepipe): request history api - define request history read model feat(stovepipe): request history api - entities/mappers Sep 3, 2026
// Build associated with the occurrence. Empty when no build applies.
string build_id = 6;
// Stable domain reason for a terminal request outcome. Empty otherwise.
string outcome_reason = 7;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

either change this ordinal to 5 (which will make it a breaking change) or reserve 5 and 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants