feat(api): retry analysis runs from LineageWeave and Naruon compatibility - #393
Draft
seonghobae wants to merge 1 commit into
Draft
Conversation
…lity Add lineageweave_analysis_run_retry_exchange, NaruonLiveService POST retry for Naruon only, and a tepp-loopback TCP create-cancel-retry proof (ADR 0033). Metric-free child 202 receipts stay fail-closed. GET remains refused on the compatibility listener. Stacked on the retry HTTP slice; not a second retry DTO.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
GAP-003A consumer-parity slice stacked on #369 (retry HTTP / ADR 0032). Not a second retry DTO, not GET status, not lifecycle POST, not cancel, not collection GET, not persistence.
What this adds
lineageweave_analysis_run_retry_exchangereuses the Naruon retry builder and swaps onlytepp-consumer.NaruonLiveServiceservesPOST /v1/analysis-runs/{run_id}/retryfor Naruon only. LineageWeave remains refused there and usesAnalysisRunLiveService.NaruonLiveServicestays POST-only. GET remains refused.tepp-loopbackTCP proof: LineageWeave create → cancel → retry returns a metric-free child202 Accepted.Fail-closed (unchanged from ADR 0032)
202with a newrun_idand a new idempotency key.rmse/bias/coverage/se_gate/scientific_acceptance/report), and identity mismatch fail closed.202is not an ADR 0014 scientific claim.Verification
cargo fmt -p tepp_apicargo clippy -p tepp_api --all-targets -- -D warningscargo test -p tepp_api --all-targetsRUSTDOCFLAGS='-D warnings' cargo doc -p tepp_api --no-depspython3 scripts/validate_documentation.pypython3 scripts/check_docstrings.py