activity-core/tests
tegwick e64af4102d
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 2s
Build and Publish Container Image / build-and-push (push) Successful in 23s
feat(sbom): draft bounded daily SBOM catch-up (ACTIVITY-WP-0030-T01)
Add the sbom-nexus catch_up resolver contract and the daily replacement for
weekly-sbom-staleness, both disabled until CUST-WP-0062-T03 lands.

The weekly check used `for_each: context.repos.repos` and emitted one task per
stale repo — 75 tasks on 2026-08-17 against 111/111 stale repos. The
replacement asks sbom-nexus for only the N oldest-stale repos in one ranked
call and carries no rule block at all, so tasks_spawned is 0 by construction.

- context_resolvers/sbom_nexus.py: source type `sbom-nexus`, query `catch_up`,
  GET /sbom/catch-up?limit=N. Read-only; ingest is T02. Limit bounded 1..25 and
  the response truncated to it so an over-long reply cannot widen T02's
  side-effect.
- activity-definitions/daily-sbom-catchup.md: weekdays 09:15 Berlin, enabled:
  false, deterministic sbom_catchup progress sink.
- rules/executor.py: the deterministic report builder only special-cased
  context.repos, which would have emitted a contentless progress event for this
  definition. _sbom_catchup_report names the selected repos and reads
  updated/skipped from context when T02 populates them.
- 17 tests against a test double; no live nexus exists yet.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 08:45:40 +02:00
..
fixtures/wp0016 chore(ACTIVITY-WP-0016-T01): record root-cause findings + partial failure fixture 2026-06-26 15:04:27 +02:00
rules Add automation status surface 2026-07-01 20:12:04 +02:00
__init__.py feat(WP-0002): complete Triggers & Ops workstream 2026-03-28 01:04:43 +01:00
test_admin_sync_api.py Add admin sync hot reload path 2026-06-19 01:54:13 +02:00
test_automation_status.py Show last run timestamp on ops automation status 2026-07-22 00:16:25 +02:00
test_cnpg_option_a_backup_resolver.py feat: daily CNPG Option A backup shell activity (RAILIANCE-WP-0016) 2026-07-22 19:50:59 +02:00
test_core_hub_context_resolver.py Add Core Hub production stabilization scheduled checks 2026-07-08 00:27:12 +02:00
test_daily_triage_verifier.py Harden WSJF triage report recovery 2026-06-05 19:27:03 +02:00
test_event_router.py feat(event-bridge): WP-0003a — domain model, rules module, event type registry 2026-05-14 22:01:15 +02:00
test_execution_api.py feat(ACTIVITY-WP-0029): inventory callers, retarget sweep, bound execution 2026-08-18 10:52:56 +02:00
test_forgejo_prune_context_resolver.py Implement ACTIVITY-WP-0022/0023: safe sink default and gap closures 2026-07-21 21:40:08 +02:00
test_instruction_evaluation.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
test_integration_event_bridge.py Implement weekly coding retro schedule 2026-06-07 20:58:34 +02:00
test_issue_sink.py Implement ACTIVITY-WP-0022/0023: safe sink default and gap closures 2026-07-21 21:40:08 +02:00
test_kaizen_context_resolver.py Add kaizen context resolver for scheduled agent fleet discovery. 2026-06-18 07:46:46 +02:00
test_llm_client.py Add automation status surface 2026-07-01 20:12:04 +02:00
test_openbao_eso_token_contract.py fix: reconcile llm-connect provider secret delivery 2026-08-20 22:47:18 +02:00
test_ops_auth.py Activate ACTIVITY-WP-0025: Authelia SSO ingress for ops and Temporal UI 2026-07-22 00:47:29 +02:00
test_ops_console_api.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
test_ops_event_types.py Implement ops inventory probe evidence slice 2026-06-05 23:16:40 +02:00
test_ops_evidence_sinks.py feat(railiance): adopt state-hub edge relay beachhead for WP-0015 2026-07-09 01:04:27 +02:00
test_ops_inventory_context_resolver.py Migrate ops inventory OCI endpoint to Forgejo registry 2026-07-09 11:38:15 +02:00
test_ops_run_queue.py fix(ops_run): unique triggering_event_id per cron fire 2026-08-05 15:30:00 +02:00
test_railiance_ops_inventory_wiring.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
test_repo_scoping_context_resolver.py fix(context): use repo-scoping /scope/context endpoint 2026-07-13 23:19:50 +02:00
test_report_sinks.py feat(railiance): adopt state-hub edge relay beachhead for WP-0015 2026-07-09 01:04:27 +02:00
test_resolve_context_binding.py Add event-payload context resolver 2026-06-18 14:01:11 +02:00
test_reuse_surface_context_resolver.py Add reuse-surface report gaps resolver 2026-06-18 17:58:00 +02:00
test_review_cli.py feat(activity): multi-service config, make help default, install-cli 2026-08-06 17:25:54 +02:00
test_review_cli_services.py feat(activity): multi-service config, make help default, install-cli 2026-08-06 17:25:54 +02:00
test_rule_evaluation_activity.py Expand rule actions for per-repo tasks 2026-06-03 11:58:24 +02:00
test_run_artifacts.py feat(ops): run artefacts in API/UI + llm-connect host access design 2026-08-05 17:23:02 +02:00
test_runtime_paths.py feat(T06): hostPath working-memory sync and repo-relative sink paths 2026-07-07 01:00:49 +02:00
test_sbom_nexus_context_resolver.py feat(sbom): draft bounded daily SBOM catch-up (ACTIVITY-WP-0030-T01) 2026-08-21 08:45:40 +02:00
test_schedule_health.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
test_schedule_lifecycle.py feat(ACTIVITY-WP-0014): explicit run-miss recovery policies (T02, T04) 2026-06-23 14:15:45 +02:00
test_schedule_smoke_script.py Add schedule smoke test routine 2026-06-06 15:32:57 +02:00
test_state_hub_context_resolver.py feat(ACTIVITY-WP-0029): inventory callers, retarget sweep, bound execution 2026-08-18 10:52:56 +02:00
test_state_hub_write.py feat(railiance): adopt state-hub edge relay beachhead for WP-0015 2026-07-09 01:04:27 +02:00
test_sync_activity_definitions.py Implement ops inventory probe evidence slice 2026-06-05 23:16:40 +02:00
test_sync_schedules.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
test_sync_service.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
test_workplan_event_types.py feat(terminology): align completion events to State Hub subjects (CUST-WP-0055 T03) 2026-07-08 16:08:32 +02:00