Add cron schedules and sync docs
Some checks failed
ci / openapi (push) Failing after 7s
ci / agent (push) Failing after 5s
ci / server (push) Failing after 6s
ci / stack-smoke (push) Has been skipped
ci / web (push) Failing after 5s

This commit is contained in:
Stanislav Rossovskii
2026-06-23 19:18:01 +04:00
parent f5ec97fcb9
commit d6f9335398
24 changed files with 638 additions and 131 deletions

View File

@@ -1,16 +1,16 @@
# CI Workflows
Placeholder for future GitHub Actions workflows.
`ci.yml` runs on pushes to `main` and on pull requests. It cancels older runs for
the same ref.
Planned jobs:
Jobs:
- Go test for `agent/`;
- `gofmt -l` and `go vet` for `agent/`;
- `go test -race` for Go stage checkpoints or concurrency-heavy changes;
- Python tests and migrations for `server/`;
- PostgreSQL constraint tests for `server/`;
- Agent-to-Server integration smoke;
- TypeScript check, lint, and build for `web/`;
- OpenAPI validation for `api/openapi.yaml`.
- OpenAPI example payload validation for `examples/heartbeat.json` and `examples/event-batch.json`.
- Docker Compose smoke for `/health`, `/ready`, `/metrics`, and example ingest.
- `openapi` - lints `api/openapi.yaml` with pinned `@redocly/cli`.
- `agent` - runs `gofmt`, `go vet`, `go test ./...`, and `go test -race ./...`.
- `server` - installs with `uv`, then runs Ruff and pytest.
- `web` - installs with npm, regenerates API types, then runs lint, typecheck,
build, and Playwright smoke.
- `stack-smoke` - runs `deploy/smoke.sh` after server and agent jobs pass.
Keep tool versions pinned in the workflow or in the component lockfiles. Do not
replace pinned CI tools with `latest`.