A task factory based on temporal
Find a file
tegwick c79d0980a9 Make Temporal activity timeout env-configurable (ADHOC-2026-06-01-T03)
The CUST-WP-0045 daily triage canary on 2026-06-01 hit a BrokenPipeError
on the llm-connect side. Two 5-minute timeouts were racing:

- _ACTIVITY_TIMEOUT = timedelta(minutes=5) in workflows.py
- LLM_CONNECT_TIMEOUT_SECONDS default 300 in llm_client.py

The 10KB curated digest + max_depth:2 + JSON schema enforcement pushed
Claude past 5 minutes. Whichever timer fired first killed the httpx call;
the model's late response arrived to a closed socket.

Read _ACTIVITY_TIMEOUT from ACTIVITY_TIMEOUT_SECONDS env (default 900 —
15 minutes) so judgement-call activities have headroom for slow LLM runs.
Operators should also widen httpx via LLM_CONNECT_TIMEOUT_SECONDS=840 so
httpx still times out slightly before Temporal, preserving the
clean-error contract.

Tests: 120 passed, 1 skipped.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-02 08:10:24 +02:00
.claude/rules Refresh agent instruction files 2026-05-18 16:55:39 +02:00
activity-definitions Fix repo_sbom_status resolver — close ADHOC-2026-06-01-T01 2026-06-02 03:31:56 +02:00
docs feat(WP-0004): railiance deployment & service ops 2026-05-15 00:04:39 +02:00
dynamicconfig Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
e2e feat(e2e): add run-on-host.sh for automated cron on railiance01 2026-03-27 01:02:21 +01:00
event-types feat(WP-0003b): parser, workflow wiring, triggers, webhooks 2026-05-14 23:02:33 +02:00
k8s/railiance Enable hourly RecentlyOnScope rollout 2026-05-23 02:51:54 +02:00
migrations feat(WP-0003b): parser, workflow wiring, triggers, webhooks 2026-05-14 23:02:33 +02:00
schemas Wire instruction report execution 2026-05-19 18:28:23 +02:00
scripts feat(WP-0004): railiance deployment & service ops 2026-05-15 00:04:39 +02:00
src/activity_core Make Temporal activity timeout env-configurable (ADHOC-2026-06-01-T03) 2026-06-02 08:10:24 +02:00
tasks feat(WP-0003c): context adapters, first ActivityDefinition, full test suite 2026-05-14 23:24:48 +02:00
tests Fix repo_sbom_status resolver — close ADHOC-2026-06-01-T01 2026-06-02 03:31:56 +02:00
wiki Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
workplans Make Temporal activity timeout env-configurable (ADHOC-2026-06-01-T03) 2026-06-02 08:10:24 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-05-15 00:06:45 +02:00
.dockerignore feat(WP-0004): railiance deployment & service ops 2026-05-15 00:04:39 +02:00
.env.example feat(WP-0004): railiance deployment & service ops 2026-05-15 00:04:39 +02:00
.gitignore Initial commit 2026-03-02 00:24:41 +00:00
AGENTS.md Refresh agent instruction files 2026-05-18 16:55:39 +02:00
alembic.ini feat(db): init Alembic (async) + SQLAlchemy declarative base — T08 2026-03-26 21:45:40 +00:00
CLAUDE.md Refresh agent instruction files 2026-05-18 16:55:39 +02:00
docker-compose.dev.yml feat(WP-0002): complete Triggers & Ops workstream 2026-03-28 01:04:43 +01:00
docker-compose.railiance.yml fix(WP-0004): live deployment fixes from integration test 2026-05-15 09:23:14 +02:00
Dockerfile Deploy activity-core on railiance01 2026-05-22 13:49:46 +02:00
INTENT.md docs: write INTENT.md and rewrite SCOPE.md for Event Bridge architecture 2026-05-14 16:56:07 +02:00
LICENSE Initial commit 2026-03-02 00:24:41 +00:00
Makefile fix(WP-0004): live deployment fixes from integration test 2026-05-15 09:23:14 +02:00
pyproject.toml feat(event-bridge): WP-0003a — domain model, rules module, event type registry 2026-05-14 22:01:15 +02:00
README.md Initial commit 2026-03-02 00:24:41 +00:00
SCOPE.md docs: write INTENT.md and rewrite SCOPE.md for Event Bridge architecture 2026-05-14 16:56:07 +02:00
uv.lock feat(event-bridge): WP-0003a — domain model, rules module, event type registry 2026-05-14 22:01:15 +02:00

repo-seed

A git repository template to bootstrap coulomb projects from.