feat(api): cancel analysis runs from LineageWeave and Naruon compatibility - #373
Conversation
…ility Add lineageweave_analysis_run_cancel_exchange, NaruonLiveService cancel, and a tepp-loopback TCP proof stacked on the ADR 0029 cancel path.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
|
Closing with replacement mapping to #174. This consumer-parity cancellation stack inherits #361's unauthenticated destructive-operation boundary; swapping |
Why
GAP-003A / issue #166 still has no LineageWeave cancel-exchange builder, no Naruon compatibility-listener cancel, and no
tepp-loopbackTCP proof. ADR 0029 / #361 addedPOST /v1/analysis-runs/{run_id}/cancelonAnalysisRunLiveServiceand the Naruon cancel builder only. A published LineageWeave consumer would have to mint a Naruon-labelled cancel.NaruonLiveServicestill refused every cancel path.Live slices that this PR does not duplicate:
analysis_enginescientific-acceptance libraryAnalysisRunLiveService(this PR stacks on that headdba3db0e0a43acae929263a06ff3364802f565f3)What
Unique GAP-003A consumer-parity cancel slice stacked on #361 over protected main
1bc02f580cf48e1d39da239f0e818453437c31c3:lineageweave_analysis_run_cancel_exchangereuses the Naruon cancel builder and replaces onlytepp-consumerNaruonLiveServiceserves metric-free cancel for Naruon only; LineageWeave remains refused therecancelled(200); already-cancelled is idempotenttepp-loopbackcreate-then-cancel over loopback TCPNot an ADR 0014 scientific claim. Not GET status. Not lifecycle POST. Not collection GET. Not retry. Not persistence. Does not open
NaruonLiveServiceto LineageWeave.Verification
cargo 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.pycrates/tepp_api/tests/lineageweave_http_contract.rscrates/tepp_api/tests/naruon_live_http_contract.rscrates/tepp_api/tests/loopback_binary_contract.rsdocs/research/analysis-run-cancel-consumer-parity.mdExact-head Checks on
837a18ab59c1dd2b6a9c9f49956de1514c5fc3bcare required before merge. Two independent current-head APPROVEs are required. Author cannot self-approve. Merge #361 before this stacked PR, or retarget onto protected main after #361 lands. No force-push.