Skip to content

feat(stovepipe): add request log table - #645

Open
mnoah1 wants to merge 2 commits into
mnoah1/stovepipe-request-history-protofrom
mnoah1/stovepipe-request-history-storage
Open

feat(stovepipe): add request log table#645
mnoah1 wants to merge 2 commits into
mnoah1/stovepipe-request-history-protofrom
mnoah1/stovepipe-request-history-storage

Conversation

@mnoah1

@mnoah1 mnoah1 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Intent:

Changes:

  • Add an append-only MySQL request_log table with stable occurrence identity.
  • Keep core lifecycle values in columns and store occurrence-specific context in a non-null JSON metadata column.
  • Remove dedicated superseding-request, build-ID, and fact-degree columns.
  • Index records for bounded, complete per-request reads.
  • Include request-log data in integration database cleanup.

Test Plan

  • Loaded all Stovepipe schemas into an isolated MySQL 8 database.
  • Inserted representative request-log records and exercised chronological retrieval.
  • ./tool/bazel test //stovepipe/extension/storage/mysql/...
  • make lint check-tidy check-gazelle

Revert Plan

Revert this PR and remove the unused table before deploying code that writes request-log records.

Jira Issues

None.

@mnoah1
mnoah1 marked this pull request as ready for review August 27, 2026 16:55
@mnoah1
mnoah1 requested review from a team, behinddwalls and sbalabanov as code owners August 27, 2026 16:55
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-request-history-storage branch from b384332 to 7727366 Compare August 31, 2026 16:28
@mnoah1 mnoah1 changed the title feat(stovepipe): add request history table feat(stovepipe): add request log table Aug 31, 2026
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-request-history-storage branch from 7727366 to cb5d781 Compare August 31, 2026 16:50
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-request-history-storage branch 3 times, most recently from cad590d to ebb7b56 Compare August 31, 2026 22:21
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-request-history-storage branch from ebb7b56 to 9933a99 Compare August 31, 2026 22:38
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-request-history-storage branch from 9933a99 to 9d4815a Compare August 31, 2026 22:52
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-request-history-storage branch from 9d4815a to 8433f10 Compare August 31, 2026 23:03
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.

1 participant