Commit Graph
58 Commits
Author SHA1 Message Date
sam 0f957ed1a2 chore(release): archied v1.30.0 archie v1.30.0 2026-09-20 02:55:20 +10:00
sam bea9e6a9dd fix(deps): bump grpc to patch GO-2026-6443
Server panic via missing :authority/Host header, reachable through
archied's gRPC gateway server. No stable google.golang.org/grpc release
carries the fix yet, so this pins the pre-release commit that does.
2026-09-19 16:29:49 +10:00
sam 9979dea4fe chore(release): archied v1.29.0 archie v1.29.0 2026-09-19 14:11:42 +10:00
sam 2809d58fee chore(release): archied v1.28.0 archie v1.28.0 2026-09-19 00:35:08 +00:00
sam f7420f7576 chore(release): archied v1.27.0 archie v1.27.0 2026-09-17 13:42:26 +00:00
sam f45a6f1270 chore(release): archied v1.26.0 archie v1.26.0 2026-09-17 07:17:34 +00:00
sam f78272fb17 chore(release): archied v1.25.0 archie v1.25.0
deploy / gate (push) Failing after 3m37s
deploy / build-and-push (push) Skipped
deploy / dist-zip (push) Skipped
2026-09-15 00:22:15 +10:00
sam 037326a515 chore(release): archied v1.24.0
deploy / gate (push) Failing after 3m2s
deploy / build-and-push (push) Skipped
deploy / dist-zip (push) Skipped
2026-09-12 09:52:42 +10:00
sam 43bc29fa80 chore(release): archied v1.23.0 archie v1.23.0
deploy / gate (push) Failing after 4m35s
deploy / build-and-push (push) Skipped
deploy / dist-zip (push) Skipped
2026-09-12 01:33:01 +10:00
sam 24fd09856e chore(release): archied v1.22.0
deploy / gate (push) Failing after 3m20s
deploy / build-and-push (push) Skipped
2026-09-03 06:31:21 +00:00
sam 0653a9ed57 chore(release): archied v1.21.0 archie v1.21.0
deploy / gate (push) Failing after 4m33s
deploy / build-and-push (push) Skipped
2026-09-03 09:58:56 +10:00
sam cc7d1babbc chore(release): archied v1.20.0 archie v1.20.0
deploy / gate (push) Failing after 3m27s
deploy / build-and-push (push) Skipped
2026-09-03 01:35:14 +10:00
sam ee0f6c1327 chore(release): archied v1.19.10
deploy / gate (push) Failing after 3m43s
deploy / build-and-push (push) Skipped
2026-09-02 03:09:58 +10:00
sam 71096f34d4 chore(release): archied v1.19.9 archie v1.19.9
deploy / gate (push) Failing after 2m44s
deploy / build-and-push (push) Skipped
2026-09-02 02:59:17 +10:00
sam 166f165f5a chore(release): archied v1.19.8
deploy / gate (push) Failing after 3m42s
deploy / build-and-push (push) Skipped
2026-09-02 01:19:31 +10:00
sam 42bcbc7872 chore(release): archied v1.19.7 archie v1.19.7
deploy / gate (push) Failing after 2m42s
deploy / build-and-push (push) Skipped
2026-09-02 00:13:39 +10:00
sam 3079f86381 chore(release): archied v1.19.6
deploy / gate (push) Failing after 3m39s
deploy / build-and-push (push) Skipped
2026-09-02 00:01:00 +10:00
sam 9dbf7ccf52 chore(release): archied v1.19.5 archie v1.19.5
deploy / gate (push) Failing after 2m31s
deploy / build-and-push (push) Skipped
2026-09-01 23:42:01 +10:00
sam 89dcfae8c6 chore(release): archied v1.19.4
deploy / gate (push) Failing after 3m34s
deploy / build-and-push (push) Skipped
2026-08-28 01:42:27 +00:00
sam e2c24e11e1 chore(release): archied v1.19.3
deploy / gate (push) Failing after 2m43s
deploy / build-and-push (push) Skipped
2026-08-28 00:55:33 +00:00
sam 9cc6d7a4c7 chore(release): archied v1.19.2
deploy / gate (push) Failing after 2m33s
deploy / build-and-push (push) Skipped
2026-08-28 00:19:45 +00:00
sam fb36e5933e chore(release): archied v1.19.1
deploy / gate (push) Failing after 2m26s
deploy / build-and-push (push) Skipped
2026-08-27 23:33:46 +00:00
sam 365297a4cb chore(release): archied v1.19.0 archie v1.18.0
deploy / gate (push) Failing after 3m38s
deploy / build-and-push (push) Skipped
2026-08-27 21:40:38 +00:00
sam 8bd7b12a3d chore(release): archied v1.18.0 archie v1.17.0
deploy / gate (push) Failing after 2m30s
deploy / build-and-push (push) Skipped
2026-08-25 05:50:01 +10:00
sam 9e6f507c06 chore(release): archied v1.17.1 archie v1.16.1
deploy / gate (push) Failing after 2m37s
deploy / build-and-push (push) Skipped
2026-08-25 03:29:11 +10:00
sam a41283ca96 chore(release): archied v1.17.0
deploy / gate (push) Failing after 3m36s
deploy / build-and-push (push) Skipped
2026-08-25 03:06:24 +10:00
sam 6a07a79d91 chore(release): archied v1.16.0 archie v1.16.0
deploy / gate (push) Failing after 2m34s
deploy / build-and-push (push) Skipped
2026-08-25 02:12:44 +10:00
sam dc5b062d1f chore(release): archied v1.15.0
deploy / gate (push) Failing after 3m33s
deploy / build-and-push (push) Skipped
2026-08-24 23:27:33 +10:00
sam a08891f150 chore(release): archied v1.14.0
deploy / gate (push) Failing after 2m38s
deploy / build-and-push (push) Skipped
2026-08-23 16:47:28 +00:00
sam 7b0321195d chore(release): archied v1.13.0
deploy / gate (push) Failing after 3m39s
deploy / build-and-push (push) Skipped
2026-08-23 15:49:43 +00:00
sam 24dc40e370 chore(release): archied v1.12.0
deploy / gate (push) Failing after 2m26s
deploy / build-and-push (push) Skipped
2026-08-23 23:39:22 +10:00
sam 15d66785ee chore(release): archied v1.11.1
deploy / gate (push) Failing after 2m31s
deploy / build-and-push (push) Skipped
2026-08-23 22:31:28 +10:00
sam 1bef49eb99 chore(release): archied v1.11.0
deploy / gate (push) Failing after 3m31s
deploy / build-and-push (push) Skipped
2026-08-23 04:15:11 +10:00
sam 7a332ed64b chore(release): archied v1.10.0
deploy / gate (push) Failing after 2m39s
deploy / build-and-push (push) Skipped
2026-08-22 19:28:07 +10:00
sam 68c86ead24 chore(release): archied v1.9.11
deploy / gate (push) Failing after 2m16s
deploy / build-and-push (push) Skipped
2026-08-19 02:08:58 +10:00
sam d8b4075166 chore(release): archied v1.9.10
deploy / gate (push) Failing after 2m23s
deploy / build-and-push (push) Skipped
2026-08-19 01:49:32 +10:00
sam 27f3403d14 chore(release): archied v1.9.9 archie v1.9.9
deploy / gate (push) Failing after 2m16s
deploy / build-and-push (push) Skipped
2026-08-18 09:58:42 +10:00
sam fe2edc07dd chore(release): archied v1.9.8 archie v1.9.8
deploy / gate (push) Failing after 3m22s
deploy / build-and-push (push) Skipped
2026-08-17 00:18:24 +10:00
sam 156f100e37 chore(release): archied v1.9.7 archie v1.9.7
deploy / gate (push) Failing after 2m12s
deploy / build-and-push (push) Skipped
2026-08-17 00:05:23 +10:00
sam 58524f24d8 chore(release): archied v1.9.6 archie v1.9.6 2026-08-17 00:00:09 +10:00
sam 5080be3450 chore(release): archied v1.9.5 archie v1.9.5
deploy / gate (push) Failing after 2m22s
deploy / build-and-push (push) Skipped
2026-08-16 03:14:59 +10:00
sam 0e53485ea1 chore(release): archied v1.9.4 archie v1.9.4
deploy / gate (push) Failing after 3m27s
deploy / build-and-push (push) Skipped
2026-08-15 23:17:43 +10:00
sam 2a6ee4cb45 chore(release): archied v1.9.3 archie v1.9.3
deploy / gate (push) Failing after 2m18s
deploy / build-and-push (push) Skipped
2026-08-15 12:53:52 +10:00
sam 3570f600d4 chore(release): archied v1.9.2 archie v1.9.2
deploy / gate (push) Failing after 3m24s
deploy / build-and-push (push) Skipped
2026-08-15 11:22:35 +10:00
sam d83f5a9be3 chore(release): archied v1.9.1 archie v1.9.1
deploy / gate (push) Failing after 3m30s
deploy / build-and-push (push) Skipped
2026-08-15 10:35:18 +10:00
sam 0d1d418f60 chore(release): archied v1.9.0 archie v1.9.0
deploy / gate (push) Failing after 2m30s
deploy / build-and-push (push) Skipped
2026-08-15 02:25:10 +10:00
sam 707af1dde5 chore(release): archied v1.8.0
deploy / gate (push) Failing after 3m34s
deploy / build-and-push (push) Skipped
2026-08-15 01:44:00 +10:00
sam 6d5fdd72a3 chore(release): archied v1.7.0 archie v1.4.0 2026-08-10 02:13:39 +10:00
sam f544dd0978 feat(config): SIGHUP-triggered reload with requires-restart warnings
The daemon can now re-read its configuration on SIGHUP (or on a
future in-process trigger) and republish it through the Holder,
closing the first half of issue #348: 'config can change at runtime,
safely, and can't brick the daemon.'

Reload path:
- cmd/archied/reload.go: ReloadController re-runs loader.Resolve on
  the same paths main.go passed at startup (Resolve is pure -- no
  reload state added to the loader). apply is called only with a
  Document that passed validation; a failed reload records the error
  and its timestamp and leaves the running config untouched. That
  Set-not-called-on-error property is the safety core and is pinned
  by TestReloadValidationFailureDoesNotApply.
- SIGHUP listener in main.go runs reloadLoop(ctx, ch, controller, log);
  the loop is extracted as a testable seam (syscall.SIGHUP is Unix-only,
  fine given the Linux target).

PollInterval is genuinely reloadable now, not just re-read:
the three ticker sites (Run, per-identity goroutine, shared
maintenance loop) re-read the interval each tick and Reset the ticker
on change. A reloaded poll_interval takes effect on the next cycle.

Diff-and-warn so an operator never has to read the source to know
whether an edit took effect: changedNonReloadableFields compares the
old and new snapshots against an allowlist of re-read fields
(PollInterval, Repos, DiffCapLines, Budgets, Dispatch, and the
Containers sub-fields VolumeTTL + MaxConcurrency). Anything else that
changed logs Warn 'requires a restart'; a fully-applied reload logs
Info. The allowlist is deliberate: a field added to Config later
defaults to requires-restart, the safe direction.

NATS split-brain closed: containerEnv now hands containers the
endpoint the daemon's own client connected with at startup
(Daemon.ConnectedNATS, captured at construction) instead of the live
config, so a reloaded nats.url cannot point new containers at a
server the daemon is not publishing on. A nats change is therefore
classified requires-restart, and CLAUDE.md's 'hands its own nats.url
verbatim' note is updated to the meaning it now has (same today,
deliberately different after a reload).

Validation guard: poll_interval <= 0 is rejected in validate.go
beside the VolumeTTL guard. applyDefaults fills zero with 60s, so
this fires on an explicit negative -- which would panic
time.NewTicker/Reset at boot and, after the per-iteration reset,
on a SIGHUP mid-run.

Observability: config.ReloadStatus (last_error, last_error_at,
last_reload_at) is recorded by the controller and surfaced in
/api/config via Server.LastReload, so a stale running config is
visible in the dashboard, not just the logs. Rendering waits for the
UI step.

Recovery hatch: --no-config-overlay flag plus ARCHIE_SKIP_CONFIG_OVERLAY=1
(configuration.SkipOverlay), logged at startup. No overlay source
exists yet; the flag is the documented escape hatch the DB overlay
(step 3 of #348) will consult.

webui.Server.ConfigProvenance becomes atomic.Pointer so a reload can
swap it via SetProvenance independently of Cfg; the accepted skew
(new config alongside old provenance) is documented on the field.

Verified: task check clean; -race on daemon, webui, cmd/archied,
config, infrastructure/configuration.
2026-08-10 00:19:46 +10:00
sam 61b4b7b0cf refactor(store): replace legacy persistence with SQLite
Task and event persistence now uses a dedicated SQLite sidecar derived from the configured state prefix, matching the independently persisted conversation store. The configured path now means a state-path prefix rather than a database file so fresh SQLite state never attempts to interpret the previous storage format.

Remove the retired implementation and dependency completely, strengthen SQLite migrations and concurrency behavior, restore backend-neutral coverage, and align configuration, operational guidance, UI labels, and deployment documentation with the new storage and host-daemon topology.
2026-08-09 22:27:25 +10:00