Skip to content

feat(stovepipe): track independent reports for each fix - #1191

Draft
mnoah1 wants to merge 1 commit into
mnoah1/fix-reports-historyfrom
mnoah1/fix-reports-phases
Draft

mnoah1 wants to merge 1 commit into
mnoah1/fix-reports-historyfrom
mnoah1/fix-reports-phases

Conversation

@mnoah1

@mnoah1 mnoah1 commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Why?

Multiple independent phases can report on the same fix, including after an earlier phase has completed.

What?

Add an optional, executor-owned report ID. Keep individual reports immutable, partition work by report so a held job cannot block a ready sibling, and share verified change history across them. Deploy the schema and updated workers before enabling named reports.

Test Plan

MultiPhaseFixReports exercises a named callback before the original one, terminal sibling replays, and duplicate links in real MySQL. A real queue test holds one report and verifies a ready sibling’s link before the first resumes. RecordFixResult tests verify distinct task identities, exact retries, and conflicting reports. Run ./tool/bazel test //stovepipe/controller/... //test/integration/stovepipe/extension/storage/mysql:go_default_test.

Revert Plan

Revert this change after reverting any dependent stack entries.

Issues

Stack

  1. docs(stovepipe): explain fix tracking and custom executor integration #1192
  2. feat(stovepipe): store executor callbacks and versioned fix observations #1185
  3. feat(stovepipe): enqueue fix tracking after recording a fix result #1186
  4. feat(stovepipe): track fix results through their executors #1187
  5. feat(stovepipe): wire fix tracking and handle dead letters #1188
  6. feat(stovepipe): expose the RecordFixResult callback RPC #1189
  7. feat(stovepipe): show verified fix links in request history #1190
  8. @ feat(stovepipe): track independent reports for each fix #1191

mnoah1 added a commit that referenced this pull request Dec 3, 2026
Summary:
## Why?
A repair can be accepted before a reviewable change exists. Custom executor authors need to know what to report, when to retry, and what Stovepipe will show in request history.

## What?
Builds on #1191. Trace a repair from the submission receipt through independent callback reports to a verified change. Document a two-worker example, callback-before-association recovery, and the typed history payloads. Align the storage and fixer guides with the same contract.

Test Plan:
Built the documentation in strict mode with `make docs-build`, ran `./tool/bazel test //tool/docsite:site_test`, and checked that the RFC index links to the rendered custom-fixer example. No runtime behavior changes.

Revert Plan:
Revert this documentation change independently.
@mnoah1
mnoah1 force-pushed the mnoah1/fix-reports-history branch from 0362a6e to e342d58 Compare December 3, 2026 23:15
@mnoah1
mnoah1 force-pushed the mnoah1/fix-reports-phases branch from 4a592ce to 4d9df23 Compare December 3, 2026 23:15
@mnoah1 mnoah1 changed the title feat(stovepipe): reconcile independent reports for each fix feat(stovepipe): track independent reports for each fix Dec 3, 2026
Summary:
## Why?
Multiple independent phases can report on the same fix, including after an earlier phase has completed.

## What?
Add an optional, executor-owned report ID. Keep individual reports immutable, partition work by report so a held job cannot block a ready sibling, and share verified change history across them. Deploy the schema and updated workers before enabling named reports.

Test Plan:
MultiPhaseFixReports exercises a named callback before the original one, terminal sibling replays, and duplicate links in real MySQL. A real queue test holds one report and verifies a ready sibling’s link before the first resumes. RecordFixResult tests verify distinct task identities, exact retries, and conflicting reports. Run `./tool/bazel test //stovepipe/controller/... //test/integration/stovepipe/extension/storage/mysql:go_default_test`.

Revert Plan:
Revert this change after reverting any dependent stack entries.
@mnoah1
mnoah1 force-pushed the mnoah1/fix-reports-history branch from e342d58 to c37dfc4 Compare December 3, 2026 23:21
@mnoah1
mnoah1 force-pushed the mnoah1/fix-reports-phases branch from 4d9df23 to e2afc75 Compare December 3, 2026 23:22

This branch has not been deployed

No deployments
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