feat: report bounded verified access dependency readiness
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a0e747-8f27-7242-8df8-8bc44f88c929
This commit is contained in:
parent
7f0dc78607
commit
c0383c9c2b
9 changed files with 294 additions and 17 deletions
|
|
@ -167,13 +167,11 @@ def test_all_native_mutation_families_keep_attributed_outcomes(target):
|
|||
from hub_core.conformance import ConformanceHarness
|
||||
client,store,owners,_ = target
|
||||
owners.facts = replace(owners.facts,producer_addresses=frozenset({'hub:ops-hub'}))
|
||||
# Composition is frozen when the app is created; run the twelve business
|
||||
# checks except dependency readiness, which separately reports no dispatcher.
|
||||
# The harness must recognize the missing dispatcher as a degraded dependency.
|
||||
harness = ConformanceHarness(client)
|
||||
client.headers.update(HEADERS)
|
||||
report = harness.run()
|
||||
assert all(c.status == 'pass' for c in report.checks if c.check_id != 'C9'), report.to_dict()
|
||||
assert next(c for c in report.checks if c.check_id == 'C9').status == 'fail'
|
||||
assert report.passed, report.to_dict()
|
||||
assert client.get('/readyz').json()['checks']['outcome_delivery'] == 'unavailable'
|
||||
pending = rows(store,runtime_outcome_outbox)
|
||||
operations = {r['envelope']['data']['operation'] for r in pending}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue