mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
git.hanzo.ai collects .hanzo/workflows, so that is where the two lanes that
carry weight here now live:
docker.yml publishes ghcr.io/hanzoai/sentry. self-hosted/Dockerfile is
Hanzo-branded and installs the wheel built from this source, so
this repo does produce an artifact. It goes through the
hanzoai/.github reusable rather than the hanzo.yml + hanzoai/ci
pair because that Dockerfile needs dist/ populated first and the
images: schema has no pre-build hook. The pre-build now installs
node_modules before bdist_wheel, which setup.py's build_assets
requires, and copies the curated requirements-frozen.txt instead
of freezing the build venv.
frontend.yml runs tsc over static/app, tests/js and fixtures/js-stubs. It is
the widest gate needing only a checkout, and it covers what this
fork changes: the TypeScript 7 tsconfig migration and the
pkg.hanzo.ai npm route.
The other 29 workflows are removed. Most address GitHub or getsentry surfaces
that do not exist here: CodeQL and dependency-review are GitHub Advanced
Security; codecov_*, openapi, release, bump-sentry-in-getsentry and
getsentry-dispatch write into getsentry's org; lock, sync-labels,
label-pullrequest, fast-revert and sentry-pull-request-bot are issue and PR
bots; workflow-sanity calls a reusable that no longer exists.
The service-backed suites (backend, acceptance, migrations, monolith-dbs) are
dropped with their capability stated rather than stubbed: they need the
devservices stack — postgres, redis, clickhouse, kafka, snuba, symbolicator —
which this fleet does not run. mypy and jest are dropped as upstream surfaces:
they type and test upstream code, so a red result there points at code this
fork never touched. publish-dockerhub and self-hosted built and pushed
getsentry-namespaced images; docker.yml replaces them with the hanzoai one.
30 lines
947 B
YAML
30 lines
947 B
YAML
# tsc over static/app, tests/js and fixtures/js-stubs — the widest check in this
|
|
# repo that needs nothing but a checkout, with no postgres, redis, kafka, snuba or
|
|
# symbolicator behind it.
|
|
#
|
|
# It covers what this fork changes: the TypeScript 7 tsconfig migration, and the
|
|
# pkg.hanzo.ai npm route that `yarn install --frozen-lockfile` exercises first.
|
|
name: frontend
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
concurrency:
|
|
group: frontend-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
typecheck:
|
|
runs-on: [hanzo-build-linux-amd64]
|
|
timeout-minutes: 45
|
|
env:
|
|
NODE_OPTIONS: '--max-old-space-size=8192'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20.11.0'
|
|
- run: command -v yarn >/dev/null || npm install -g [email protected]
|
|
- run: yarn install --frozen-lockfile
|
|
- run: yarn tsc -p config/tsconfig.ci.json
|