Local Workflow Reference¶
Who this is for¶
Maintainers and contributors running repository quality gates or debugging local development commands.
What you will get¶
- The repo-level command map.
- Module-level quality gates.
- Documentation and marketing-site checks with expected high-level outcomes.
- Notes about checks that need Docker or external tools.
Repository commands¶
make help
make docs-check
make site-check
make test
make finalize
Expected result:
make helplists available targets.make docs-checkvalidates docs links, external links, spelling, and strict MkDocs build.make site-checkvalidates the Astro marketing site, MkDocs docs, combined static build, and generated-site links.make testruns the proof-kit smoke test and module tests.make finalizeruns formatting, linting, tests, codegen, Markdown lint, and docs checks.
Module commands¶
| Module | Common commands |
|---|---|
api/ | make env, make test-env, make dev, make test, make codegen, make finalize |
recsys-algo/ | make test, make build, make plugin-example, make finalize |
recsys-pipelines/ | make test, make build, make smoke, make finalize |
recsys-eval/ | make test, make schema-check, make build, make finalize |
Documentation checks¶
make mdlint
python3 scripts/docs_linkcheck.py
python3 scripts/docs_external_linkcheck.py
make docs-build
Expected result: Markdown style passes, internal links resolve, external links are reachable or intentionally skipped, and MkDocs builds into .site/documentation/technical/ with strict mode.
Marketing site checks¶
npm ci --prefix site
npm run check --prefix site
npm run build --prefix site
make site-build
python3 scripts/site_linkcheck.py .site
Expected result: Astro type and content checks pass, the bilingual marketing site builds, MkDocs is mounted under /documentation/technical/, and generated internal links resolve.
Generated files¶
Run this when API spec sources change:
make codegen
Expected result: generated OpenAPI artifacts under api/docs/ match docs/reference/api/openapi.yaml.
Notes¶
- Docker is required for the repo-level API test workflow.
- Some module
finalizetargets install tools such asgolangci-lint,gosec, andgovulncheck. .site/is generated output. Do not edit it as source documentation.