activity-core/src/activity_core
tegwick 459a272974
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Container Image / build-and-push (push) Successful in 30s
fix(llm): surface llm-connect's error body instead of a bare 502
llm-connect maps every provider API error onto HTTP 502 and puts the real
cause in the body (llm_connect/server.py::_error_response: error,
provider_status). LLMConnectClient.complete called raise_for_status() and threw
that body away, so a revoked OpenRouter key was indistinguishable from a downed
gateway — four days of production evidence read as "llm-connect is down".

Live check confirms one fault, not two: the llm-connect pod is Running 1/1 with
healthy endpoints, and today's FI/Binky/triage runs still 502 after yesterday's
rollout, matching the sanitized upstream 401 railiance-platform reported.

The client now raises with error, provider_status, provider, model and a
bounded copy of llm-connect's already-sanitized message, under a field
allowlist so no provider blob or key material reaches the run artefact.

Refs ACTIVITY-WP-0031-T01, T03.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 08:53:30 +02:00
..
context_resolvers feat(sbom): draft bounded daily SBOM catch-up (ACTIVITY-WP-0030-T01) 2026-08-21 08:45:40 +02:00
review_cli feat(activity): multi-service config, make help default, install-cli 2026-08-06 17:25:54 +02:00
rules feat(sbom): draft bounded daily SBOM catch-up (ACTIVITY-WP-0030-T01) 2026-08-21 08:45:40 +02:00
__init__.py Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
activities.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
api.py feat(ACTIVITY-WP-0029): inventory callers, retarget sweep, bound execution 2026-08-18 10:52:56 +02:00
automation_status.py Show last run timestamp on ops automation status 2026-07-22 00:16:25 +02:00
db.py feat(db): init Alembic (async) + SQLAlchemy declarative base — T08 2026-03-26 21:45:40 +00:00
definition_parser.py feat(WP-0003b): parser, workflow wiring, triggers, webhooks 2026-05-14 23:02:33 +02:00
event_router.py feat(WP-0004): railiance deployment & service ops 2026-05-15 00:04:39 +02:00
event_type_registry.py Deploy activity-core on railiance01 2026-05-22 13:49:46 +02:00
execution_api.py feat(ACTIVITY-WP-0029): inventory callers, retarget sweep, bound execution 2026-08-18 10:52:56 +02:00
issue_sink.py Implement ACTIVITY-WP-0022/0023: safe sink default and gap closures 2026-07-21 21:40:08 +02:00
llm_client.py fix(llm): surface llm-connect's error body instead of a bare 502 2026-08-21 08:53:30 +02:00
models.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
ops_api.py feat(activity): repo-scoped automation review CLI (WP-0028) 2026-08-06 13:05:46 +02:00
ops_auth.py Activate ACTIVITY-WP-0025: Authelia SSO ingress for ops and Temporal UI 2026-07-22 00:47:29 +02:00
ops_console.py feat(ops): run artefacts in API/UI + llm-connect host access design 2026-08-05 17:23:02 +02:00
ops_evidence_sinks.py feat: daily CNPG Option A backup shell activity (RAILIANCE-WP-0016) 2026-07-22 19:50:59 +02:00
ops_run_queue.py fix(ops_run): unique triggering_event_id per cron fire 2026-08-05 15:30:00 +02:00
ops_runs_api.py Implement ACTIVITY-WP-0026 ops_run claim queue (T01–T06). 2026-08-03 19:22:50 +02:00
orm.py Implement ACTIVITY-WP-0026 ops_run claim queue (T01–T06). 2026-08-03 19:22:50 +02:00
report_sinks.py feat(railiance): adopt state-hub edge relay beachhead for WP-0015 2026-07-09 01:04:27 +02:00
run_artifacts.py feat(ops): run artefacts in API/UI + llm-connect host access design 2026-08-05 17:23:02 +02:00
runtime_paths.py feat(T06): hostPath working-memory sync and repo-relative sink paths 2026-07-07 01:00:49 +02:00
schedule_health.py feat(railiance): adopt state-hub edge relay beachhead for WP-0015 2026-07-09 01:04:27 +02:00
schedule_manager.py Implement ACTIVITY-WP-0024 operator automation console 2026-07-21 23:51:39 +02:00
seed.py feat(db): add dev seed script for ActivityDefinition — T12 2026-03-26 21:53:59 +00:00
state_hub_write.py feat(railiance): adopt state-hub edge relay beachhead for WP-0015 2026-07-09 01:04:27 +02:00
sync_activity_definitions.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
sync_schedules.py Repair production automation truth and schedule cleanup 2026-08-20 11:20:23 +02:00
sync_service.py Add admin sync hot reload path 2026-06-19 01:54:13 +02:00
template_engine.py feat(activities): resolve_context stub + evaluate_templates — T15/T16 2026-03-26 22:06:09 +00:00
webhook_receiver.py feat(WP-0003b): parser, workflow wiring, triggers, webhooks 2026-05-14 23:02:33 +02:00
worker.py Implement ACTIVITY-WP-0022/0023: safe sink default and gap closures 2026-07-21 21:40:08 +02:00
workflows.py fix(ops_run): unique triggering_event_id per cron fire 2026-08-05 15:30:00 +02:00