mirror of
https://github.com/morluto/rea.git
synced 2026-12-05 14:31:22 +00:00
refactor(firmware): classify firmware failures through the shared provider classifier (#10810)
Firmware producers now report their own deadline expiry: the start check, the output inventory and launcher admission throw the phase timeout where they observe the abort, and a read the phase signal cancelled reports it through the dialect's interruption. The classifier no longer rereads a cancellation's reason as a timeout. A new readCleanup hook keeps firmware's cleanup report shape.
This commit is contained in:
1 parent
73d31fdf30
commit
890eccf360
11 files changed
+377
-188
No files matched your search
@@ -274,7 +274,13 @@ one entry for a raw failure: typed analysis errors pass through, command
|
||||
outcomes go to `classifyProviderOutcome`, selected-file failures go to the
|
||||
shared stable-artifact projections, and only what none of them recognises
|
||||
reaches the provider's `unclassified` report. A provider supplies a dialect,
|
||||
not a classifier. The `rea/provider-failure-classifier` lint rule keeps new
|
||||
not a classifier. A phase that armed its own deadline throws that deadline's
|
||||
timeout where it observes the abort; for a read its signal cancelled, it
|
||||
supplies the timeout as the dialect's `interruption`, so classification never
|
||||
rereads a cancellation's reason as a timeout. A provider whose cleanup report
|
||||
has its own shape supplies `readCleanup` or `commandCleanup`; otherwise the
|
||||
unresolved cleanup is attached to the reported failure. The
|
||||
`rea/provider-failure-classifier` lint rule keeps new
|
||||
`(cause: unknown) => AnalysisError` functions out of `src/` except in that
|
||||
owner; existing ones are counted in a baseline that may only shrink.
|
||||
|
||||
|
||||
Reference in new issue
Block a user