Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
310cc96
ci: fix incident regex, add job timeouts, drop stale jest config
LucasSantana-Dev Sep 4, 2026
8db01b2
ci: address pr 2178 review threads
LucasSantana-Dev Sep 4, 2026
928957f
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
788804d
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
67d4ef8
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
d0e1ac7
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
2d97bd9
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
fa91d03
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
b441e91
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
cbfe2f4
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
12662ef
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
0b8c640
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
dd176bb
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
44ab066
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
b3197c3
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
230852a
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
ea04bd8
Merge branch 'main' into ci/incident-regex-timeouts-root-jest
LucasSantana-Dev Sep 4, 2026
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
1 change: 1 addition & 0 deletions .github/workflows/auto-update-pr-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ concurrency:
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Update behind, auto-merge-enabled PRs
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
size-limit:
name: Size Limit Check
runs-on: ubuntu-latest
timeout-minutes: 15
env:
# This job runs a bare `npm ci` (needs the frontend build), so unlike
# ci.yml/madge it can't use --ignore-scripts. Without this, youtube-dl-exec's
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
build-shared:
name: Build — shared
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
Expand All @@ -43,6 +44,7 @@ jobs:
checks:
name: Checks
runs-on: ubuntu-latest
timeout-minutes: 15
needs: build-shared
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
Expand Down Expand Up @@ -125,6 +127,7 @@ jobs:
test-shared:
name: Test — shared
runs-on: ubuntu-latest
timeout-minutes: 15
needs: build-shared
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
Expand All @@ -147,6 +150,7 @@ jobs:
test-backend:
name: Test — backend
runs-on: ubuntu-latest
timeout-minutes: 15
needs: build-shared
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
Expand All @@ -172,6 +176,7 @@ jobs:
test-bot:
name: Test — bot
runs-on: ubuntu-latest
timeout-minutes: 15
needs: build-shared
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
Expand Down Expand Up @@ -220,6 +225,7 @@ jobs:
test-youtube-smoke:
name: Test — YouTube smoke (dependency guard)
runs-on: ubuntu-latest
timeout-minutes: 15
needs: build-shared
# Only runs on dependabot/renovate pull_request events touching YouTube packages.
if: |
Expand Down Expand Up @@ -252,6 +258,7 @@ jobs:
test-frontend:
name: Test — frontend
runs-on: ubuntu-latest
timeout-minutes: 15
needs: build-shared
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
Expand Down Expand Up @@ -288,6 +295,7 @@ jobs:
madge:
name: madge / packages/bot
runs-on: ubuntu-latest
timeout-minutes: 20
needs: build-shared
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
Expand Down Expand Up @@ -336,6 +344,7 @@ jobs:
detect-docker-changes:
name: Detect Docker-relevant changes
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.event_name == 'pull_request' || github.event_name == 'merge_group'
outputs:
relevant: ${{ steps.filter.outputs.relevant }}
Expand Down Expand Up @@ -376,6 +385,7 @@ jobs:
docker-build:
name: Build — ${{ matrix.service }}
runs-on: ubuntu-latest
timeout-minutes: 60
needs: detect-docker-changes
if: (github.event_name == 'pull_request' || github.event_name == 'merge_group') && needs.detect-docker-changes.outputs.relevant == 'true'
concurrency:
Expand Down Expand Up @@ -484,6 +494,7 @@ jobs:
docker-build-check:
name: Build — Docker images
runs-on: ubuntu-latest
timeout-minutes: 10
needs: [detect-docker-changes, docker-build]
if: always() && (github.event_name == 'pull_request' || github.event_name == 'merge_group')
steps:
Expand All @@ -506,6 +517,7 @@ jobs:
# test-youtube-smoke intentionally excluded: advisory-only, runs on YouTube dependency PRs only
name: Quality Gates
runs-on: ubuntu-latest
timeout-minutes: 10
needs: [build-shared, checks, test-shared, test-backend, test-bot, test-frontend]
if: always()
steps:
Expand All @@ -524,6 +536,7 @@ jobs:
sonar:
name: SonarCloud Scan
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [test-backend, test-bot, test-frontend]
# Fork PRs get no secrets, so SONAR_TOKEN is never present and the
# token policy step would hard-fail this required check. Skip the job
Expand Down Expand Up @@ -599,6 +612,7 @@ jobs:
security:
name: Security
runs-on: ubuntu-latest
timeout-minutes: 25
concurrency:
group: ${{ github.workflow }}-security-${{ github.ref }}
cancel-in-progress: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-frontend-cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ permissions:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
(github.event.pull_request.head.repo.full_name == github.repository &&
contains(github.event.pull_request.labels.*.name, 'staging'))
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ concurrency:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 75
environment: Production
permissions:
actions: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/destructive-interaction-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
destructive-interaction-gate:
name: Destructive interaction gate
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Merge-queue short-circuit
if: github.event_name == 'merge_group'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ permissions:
jobs:
build-and-push:
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
Comment thread
LucasSantana-Dev marked this conversation as resolved.
Resolved
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
packages: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/external-pr-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
name: Notify new external PR
if: github.event_name == 'pull_request_target'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Post Discord alert
if: contains(fromJSON('["FIRST_TIMER","FIRST_TIME_CONTRIBUTOR","CONTRIBUTOR","NONE"]'), github.event.pull_request.author_association)
Expand Down Expand Up @@ -69,6 +70,7 @@ jobs:
name: External PR digest
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Post digest of open external PRs
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fork-ci-autoapprove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
auto-approve:
name: Approve CI for trusted contributors
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Approve pending runs
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/migration-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
migrate-gate:
name: Migrations apply on Postgres 18
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
mutation:
name: Mutation (${{ matrix.package }})
runs-on: ubuntu-latest
timeout-minutes: 30
if: ${{ !github.event.pull_request.draft }}
strategy:
fail-fast: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
pr-agent:
name: AI Code Review
runs-on: ubuntu-latest
timeout-minutes: 20
if: ${{ github.event.sender.type != 'Bot' && (github.event_name != 'issue_comment' || github.event.issue.pull_request != null) }}
permissions:
issues: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ permissions:
jobs:
label:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Label PR by changed files
uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 # v6
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
release-please:
name: Maintain release PR
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-tag-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
ensure-release-tag:
name: Ensure release tag + GitHub release
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:
jobs:
stale:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
issues: write
pull-requests: write
Expand Down
61 changes: 0 additions & 61 deletions jest.config.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"test:backend": "npm run test --workspace=packages/backend -- --ci",
"test:bot": "npm run test --workspace=packages/bot -- --ci",
"test:frontend": "npm run test --workspace=packages/frontend",
"test:music:incident": "jest --config packages/bot/jest.config.cjs --testPathPatterns=\"engineManager.spec|autoplay.spec|queueManipulation.spec|playerFactory.test|play/index.spec\" --runInBand",
"test:music:incident": "jest --config packages/bot/jest.config.cjs --testPathPatterns=\"engineManager.spec|autoplay.spec|queueManipulation\\..*spec|playerFactory\\.(spec|test)|play/index.spec\" --runInBand",
"test:all": "npm run test:shared && npm run test:backend && npm run test:bot && npm run test:frontend",
"test:ci": "npm run test --workspace=packages/backend -- --ci",
"test:coverage": "npm run test --workspace=packages/backend -- --coverage",
Expand Down
Loading