activity-core/tests
tegwick 5bd0ee5ff9
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 0s
Build and Publish Container Image / build-and-push (push) Successful in 19s
feat(ops-run): carry harness_profile_ref and attribution refs
ACTIVITY-WP-0032-T02 / ACT-ADR-006. ops_runs grows harness_profile_ref (text,
indexed) and execution_refs (jsonb), migration 0008, threaded through the
emission path, queue projection, and run artefacts.

The important part is the enforcement, not the columns. ACT-ADR-006 says
approach_hint must never override, synthesize, or fall back from an absent or
invalid harness_profile_ref — a silent fallback would reintroduce the
claim-time routing failure of 2026-08-17. resolve_execution_selector never
consults the hint: a malformed ref raises even when a hint is present, and
ACTIVITY_CORE_REQUIRE_HARNESS_PROFILE turns an absent ref into an error once
definitions have migrated.

Validation is structural only, since the glas-harness catalogue is
authoritative and must not be mirrored. Requiring the <id>@<version> pin is
worth doing locally: GlasProfiles.resolve matches an unpinned ref against every
version and refuses it as ambiguous, so the pin converts a late failure into an
emission-time error without knowing any profile id.

Migration verified on real PostgreSQL 16: upgrade, downgrade, re-upgrade, and a
legacy-shaped row still inserts and stays claimable.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 14:14:08 +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_glas_profile_selection.py feat(ops-run): carry harness_profile_ref and attribution refs 2026-08-21 14:14: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 fix(llm): surface llm-connect's error body instead of a bare 502 2026-08-21 08:53:30 +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