Commit Graph
2239 Commits
Author SHA1 Message Date
sam 34bc6865e5 fix(archied): wait for in-flight tasks on a single-cycle run
A drain pass no longer waits for the tasks it submitted, so -once (the
systemd timer and test invocation) returned while their containers were
still running and the process then tore them down. Wait for the pass's
tasks here, restoring what the flag means.
2026-10-08 22:31:07 +11:00
sam 708b1ea502 fix(daemon): let a run waiting on a callee release its capacity
A wait:true workflow.call run held its global slot and its repo's place for
the callee's whole life, and the drain pass waited for its own tasks, so a
callee queued by that pass was never claimed. With containers.max_concurrency
saturated, or a repo that does not allow concurrency, the wait could not end.

A drain pass now returns once the stream and the claim fallback are empty, and
shutdown waits for in-flight work once. Suspend/Resume give a run's slot and
repo place back while it waits on a callee, driven by the workflow call events
on the daemon's bus; a hold records one slot and one place, so a second
re-acquire gives back what it took.
2026-10-08 22:31:07 +11:00
sam f7c623983d refactor(workflow): keep the call key change inside the lint gate
golangci-lint failed on the change and had not before: gofumpt wants
StartCall's same-typed parameters grouped, and runWorkflowCall reached a
cyclomatic complexity of 16. The unwaited call's early close moves into
closeUnwaitedCall on *TaskContext -- it needs only the call step, the
callee and the settings -- which leaves runWorkflowCall below the limit
with its behaviour unchanged.

The walk's id-less call case is deleted: ParseDefinition now refuses that
definition before validateWorkflowCalls runs, so it passed for the wrong
reason. The refusal is pinned where it happens instead, by the compile
case in TestWorkflowCallKeyIsTheDeclaredPath, now asserting the whole
message so it still names the step it refused.
2026-10-08 22:31:07 +11:00
sam 703aea4568 fix(workflow): key a call on its callee, and free a terminal child's key
A call's key was the step's declared path alone, so one task running a
second definition at a colliding path -- workflow.handoff, human.approve
and a definition re-pin all change it -- was handed the first callee's
child, waited on the wrong workflow and published its outputs. The key
now carries the callee too, while the step row and the call's events stay
named and staged for the call site, so a rail pairing an event with its
step still attaches them.

A child that reached dead or closed_wont_do can never do the work and
holds no result the caller can use, so it leaves the call key's index and
frees the key for the caller's retry to start a fresh child. parked and
rejected keep theirs: a parked child is recoverable by retrying it, and a
rejected child ran.

The id a call step must declare is now refused where the definition is
compiled, which is also the path a pinned definition takes, so an id that
spells a step type is accepted again and no stage needs a heuristic.
2026-10-08 22:31:07 +11:00
sam 0101947131 fix(workflow): key a workflow.call on its declared step path
A call site had no durable identity, so any retry of it -- a lost
EnqueueCallTask reply, a failed call-step record, a requeued attempt that
re-runs the stage -- started a second child and its work happened twice.

The call step's declared path within the run is that identity: wrapStep
sets it (branch-qualified, restored on return), a workflow.call step must
declare an id so two call sites cannot share one, and the key crosses
EnqueueCallTaskRequest.call_key into tasks.call_key, which EnqueueCallTask
upserts on so the retry returns the child already started.
2026-10-08 22:31:07 +11:00
sam ec85790982 fix(agentexec): enforce capture tool result schemas 2026-10-08 22:30:12 +11:00
sam 10308d4170 fix(workflow): apply step retry and on_failure to command.run 2026-10-08 22:22:13 +11:00
sam 83e0346e5b fix(ui): stop the command palette scrolling sideways 2026-10-08 21:58:22 +11:00
sam 2a626c0447 fix(ui): anchor the command palette and stop scroll stealing its highlight 2026-10-08 21:57:20 +11:00
sam f88a8064c0 fix(webhook): authorize delivery against the source's org 2026-10-08 21:43:28 +11:00
sam f80e4d7214 test(postgres): derive the org fixture source from its insert 2026-10-08 21:40:24 +11:00
sam 29f23d2a1a fix(captures): keep count-retention inside the inserted capture's org 2026-10-08 21:27:54 +11:00
sam bb338f0055 fix(captures): scope the capture list to the acting org 2026-10-08 21:26:07 +11:00
sam ff68a22260 fix(sources): store the acting org on source creation 2026-10-08 21:25:49 +11:00
sam 83ff74040b fix(capture): inherit source org on ingestion 2026-10-08 21:02:21 +11:00
sam ee5e052c9f fix(workflow): resolve definitions in the owning org 2026-10-08 20:41:08 +11:00
sam 5ec332ac19 chore(release): v1.51.1 2026-10-08 01:42:29 +11:00
sam e9a8b9e234 fix(release): a dependency bump is releasable for every binary 2026-10-08 01:42:27 +11:00
sam e19e503ca7 fix(deps): ai-sdk v0.1.43 sends gpt-6 tool calls through the Responses API 2026-10-08 01:41:44 +11:00
sam 3895f5e3d5 chore(release): v1.51.0 2026-10-08 01:37:28 +11:00
sam cc64faa585 feat(chat): the dashboard chat records voice, downloads files a turn sends, and offers /model and /personality choices 2026-10-08 01:37:21 +11:00
sam cf720bc98b fix(gateway): providers resolve again when a secret engine starts after boot 2026-10-08 01:34:55 +11:00
sam 001e5c7e56 chore(release): v1.50.1 2026-10-08 00:40:03 +11:00
sam b44baf8ad3 fix(update): the watchdog logs the health report it rolled back on 2026-10-08 00:39:57 +11:00
sam 60b9d9a05e chore(release): v1.50.0 2026-10-08 00:25:35 +11:00
sam 12eab7683a feat(chat): the dashboard chat answers tool approvals and questions, and /update offers Install 2026-10-08 00:25:23 +11:00
sam 12ac6daff7 fix(gatewayrpc): carry tool approvals and ask_user questions between a channel and the gateway turn 2026-10-08 00:22:37 +11:00
sam 39f670c61d chore(release): v1.49.4 2026-10-07 23:58:52 +11:00
sam d6201d1211 fix(ui): tabbed Status and Extensions, one Add MCP server, repos page renders without repos, save bar rests at the viewport edge 2026-10-07 23:46:34 +11:00
sam c03309b879 fix(ui): the Versions table's status column ends at the card's edge 2026-10-07 23:35:12 +11:00
sam 45d6c8f9a0 chore(release): v1.49.3 2026-10-07 23:34:21 +11:00
sam 3ac351a775 fix(ui): the release channel control sits at the Updates card's edge, not mid-row 2026-10-07 23:34:13 +11:00
sam 1f1c84d4a0 fix(archieui): the Versions card compares against the running daemon, so an available update can be installed 2026-10-07 23:29:03 +11:00
sam 4b98826b96 chore(release): v1.49.2 2026-10-07 23:18:11 +11:00
sam 2fc82bffcb fix(releaseupdate): read GitHub releases directly; drop go-selfupdate and its openpgp dependency 2026-10-07 23:18:03 +11:00
sam e57a0ff6c2 chore(release): v1.49.1 2026-10-07 23:10:38 +11:00
sam 5d83f5250d fix(ui): an expired session reloads to the sign-in page instead of showing a banner 2026-10-07 23:05:52 +11:00
sam 866ebe8ac3 chore(release): v1.49.0 2026-10-07 22:17:00 +11:00
sam 5387cd0349 fix(extension): confine egress only for packages that declare egress hosts 2026-10-07 22:15:06 +11:00
sam 1ca926796d fix(releaseupdate): reuse a found release for ten minutes to stay under GitHub's unauthenticated rate limit 2026-10-07 01:17:21 +11:00
sam 6d75bb2bc1 feat(releaseupdate): archied update check finds releases through go-selfupdate; archie-update-check is deleted 2026-10-07 01:12:11 +11:00
sam 923d3a4496 chore(release): v1.48.1 2026-10-07 01:00:30 +11:00
sam ce326153c3 fix(controlplane): update-settings selects a release channel; services run only the installed update scripts 2026-10-07 01:00:28 +11:00
sam e2cbd7de89 chore(release): v1.48.0 2026-10-07 00:57:07 +11:00
sam 9874725593 feat(controlplane): update commands are an update-settings kind edited on Status, defaulting to the installed scripts 2026-10-07 00:57:01 +11:00
sam e129a3df6e fix(scripts): archie-update-install loads the archie env file so a shell run can back up the bundled database 2026-10-07 00:53:23 +11:00
sam 6b153962aa ci(deploy): build the archied and agent images in parallel so the release zip waits only on the agent image 2026-10-07 00:35:13 +11:00
sam 7ce11f842d chore(release): v1.47.3 2026-10-07 00:33:23 +11:00
sam 97f135e99b fix(webui): extension Accept and Remove dialogs act on the selected extension 2026-10-07 00:32:44 +11:00
sam 3759a88c05 chore(release): v1.47.2 2026-10-06 03:25:44 +11:00