Commit Graph

10 Commits

Author SHA1 Message Date
FilipBl4gojevic
2e1d14fb25 ci: gate on typecheck 2026-07-28 10:04:04 +02:00
FilipBl4gojevic
01416af3ab ci: harden workflow permissions, add timeout and concurrency gate
- permissions: contents: read — this workflow only builds and tests,
  it never writes to the repo; matches the convention deploy.yml
  already sets.
- timeout-minutes: 15 on the job so a hung step doesn't burn runner
  time indefinitely.
- concurrency group keyed on the ref so a new push cancels the
  in-flight run for the same branch/PR instead of queuing behind it.

Action versions are left unpinned (still @v4) — SHA-pinning only this
workflow while deploy.yml stays on @v4 would be an inconsistency to
clean up in its own pass, not here.
2026-07-28 09:57:03 +02:00
FilipBl4gojevic
9d4958500e test: add tool-inventory smoke test asserting the 23-tool surface
Every PR in the non-custodial-split series is supposed to preserve
`tools/list` returning 23 tools with identical schemas, but nothing
enforced it — PRs 2, 6, 7 and 8 will restructure and rename tool
families, and a snapshot only means something if it's taken before
that starts. Boot the built server, call listTools(), and assert both
the count and the exact sorted name list against a checked-in
baseline captured from a live run on this branch. Failures report
which names were added/removed rather than a bare array-diff.

Reuses startServer()/stopServer() from test/setup.ts; does not call
getMnemonic(), so it needs no wallet. Wired into CI as a new step
after the unit tests. Also raises the server-start timeout in
setup.ts from 15s to 60s — the Cardano WASM import makes cold starts
slow enough that 15s was flaky on the smoke test's first CI run.

test:smoke is intentionally separate from test:unit (which does not
build) since startServer() spawns build/index.js.
2026-07-28 09:57:02 +02:00
FilipBl4gojevic
999a8bcc7f ci: run build and unit tests on PRs and main 2026-07-28 09:57:02 +02:00
david
d21bf23307 update gha workflows 2026-04-15 23:23:54 +02:00
david
500e7cf729 Added mainnet deploy gh workflow 2026-03-19 16:30:58 +01:00
david
94e42c2223 fix typo 2026-03-19 00:38:20 +01:00
david
fdbc226bae speed up build 2026-03-19 00:37:23 +01:00
david
8f11ee991e fix deploy workflow 2026-03-18 23:59:33 +01:00
david
e1528d575e Add SSE transport, Docker CI/CD pipeline, and make mnemonic a per-call parameter 2026-03-18 23:56:24 +01:00