feat(runs): add typed results and model aliases (#2043)
Also fix repository-free message.send validation (#2046) and add a single-binary development smoke path (#1977). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
55 files changed
+1162
-517
No files matched your search
@@ -211,6 +211,30 @@ tasks:
|
||||
- task: dev:wait-state
|
||||
- go run ./cmd/archie-messaging -config-overlay deployments/dev.toml
|
||||
|
||||
dev:archie:
|
||||
desc: Run the single archie binary against the development PostgreSQL (admin token "dev")
|
||||
deps: [dev:postgres]
|
||||
vars:
|
||||
DIR: tmp/dev-archie
|
||||
cmds:
|
||||
- |
|
||||
set -eu
|
||||
mkdir -p {{.DIR}}
|
||||
# Generated once: the age identity seals the dev credentials, so keep
|
||||
# it across runs. Roles come from dev:postgres.
|
||||
if [ ! -f {{.DIR}}/config.toml ]; then
|
||||
umask 077
|
||||
{
|
||||
echo 'listen = "127.0.0.1:8080"'
|
||||
echo "admin_token_sha256 = \"$(printf dev | sha256sum | cut -d' ' -f1)\""
|
||||
echo "age_identity = \"$(go run ./cmd/archie -new-age-identity)\""
|
||||
echo '[database]'
|
||||
echo 'url = "postgres://archie_runtime:archie@127.0.0.1:5432/archie?sslmode=disable"'
|
||||
echo 'owner_url = "postgres://archie_migrator:archie@127.0.0.1:5432/archie?sslmode=disable"'
|
||||
} > {{.DIR}}/config.toml
|
||||
fi
|
||||
- go run ./cmd/archie -config {{.DIR}}/config.toml
|
||||
|
||||
dev:ui:
|
||||
desc: Run Vite (requires the dashboard backend)
|
||||
dir: ui
|
||||
|
||||
Reference in new issue
Block a user