Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .env.example

This file was deleted.

11 changes: 0 additions & 11 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,5 @@
/scripts/check-* @aksOps
/scripts/ci/ @aksOps
/scripts/ci_monitor.cjs @aksOps
/sonar-project.properties @aksOps
/package.json @aksOps
/package-lock.json @aksOps
/npm-shrinkwrap.json @aksOps
/yarn.lock @aksOps
/pnpm-lock.yaml @aksOps
/bun.lock @aksOps
/bun.lockb @aksOps
/.npmrc @aksOps
/vite.config.* @aksOps
/vitest.config.* @aksOps
/go.mod @aksOps
/go.sum @aksOps
31 changes: 5 additions & 26 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Quality and Sonar
name: Quality

on:
push:
Expand Down Expand Up @@ -27,33 +27,23 @@ jobs:
fetch-depth: 0
persist-credentials: false

- name: Set up Node.js
- name: Set up Node.js for the CI monitor test
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24.15.0
cache: npm

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum

- name: Install frontend dependencies
run: npm ci --ignore-scripts

- name: Run frontend coverage gate
run: npm test

- name: Run Go coverage gate
env:
GO_PACKAGE_COVERAGE_THRESHOLD: '95.0'
GO_TOTAL_COVERAGE_THRESHOLD: '96.4'
GO_COVERAGE_PROFILE: coverage/go.out
run: npm run coverage:go

- name: Build frontend
run: npm run build
run: sh scripts/check-go-coverage.sh

- name: Vet Go packages
run: go vet ./...
Expand All @@ -64,16 +54,5 @@ jobs:
- name: Check Go formatting
run: sh scripts/check-go-format.sh

- name: Run SonarQube Cloud scan
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
uses: SonarSource/sonarqube-scan-action@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >-
-Dsonar.organization=${{ vars.SONAR_ORGANIZATION }}
-Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY }}

- name: Explain skipped Sonar scan
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
run: echo "Sonar scan skipped because GitHub does not expose repository secrets to fork pull requests." >> "$GITHUB_STEP_SUMMARY"
- name: Test CI monitor
run: node scripts/ci/test_ci_monitor.cjs
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Release

# Manually triggered release: builds the UI, commits it on a detached release
# commit under the tag, cross-compiles the binaries at that commit (so the Go
# toolchain stamps the exact version), and publishes the GitHub release.
# Manually triggered release: validates the clean Go source, tags that exact
# commit, cross-compiles the binaries, and publishes the GitHub release.
# Everything is delegated to scripts/release.sh — the same script a local
# release uses — so the two paths cannot drift apart.

Expand Down Expand Up @@ -39,12 +38,6 @@ jobs:
with:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24.15.0
cache: npm

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
Expand Down
10 changes: 0 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
node_modules

# Local oh-my-codex runtime, workflow state, logs, and generated artifacts.
/.omx/

# Test coverage reports.
/coverage/

# Local SonarScanner analysis workspace and generated reports.
/.scannerwork/

# dist/ is a build artifact; only .gitkeep is tracked so that the
# //go:embed all:dist directive still resolves in a fresh clone.
/dist/*
!/dist/.gitkeep

/docs/
!/docs/
/docs/*
Expand Down
Loading