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
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,22 @@ permissions:
jobs:
validate:
name: Validate Docker Configs
# GitHub-hosted: hadolint-action pulls ghcr.io/hadolint/hadolint which needs
# authenticated GHCR access; GitHub-hosted runners have ambient auth, self-hosted ARM do not.
runs-on: ubuntu-latest
# Self-hosted ARM64 (DAK-7665): explicit GHCR login before hadolint-action so
# the runner can pull ghcr.io/hadolint/hadolint without ambient GitHub auth.
runs-on: [self-hosted, linux, arm64]
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v7

- name: Authenticate to GHCR (for hadolint image pull)
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Validate docker-compose.yml
env:
DAKERA_ROOT_API_KEY: ci-validation-placeholder
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hetzner-health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
health-check:
name: Check Server Health
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, arm64]
outputs:
healthy: ${{ steps.final-status.outputs.healthy }}
steps:
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:

report-healthy:
name: Log Healthy Status
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, arm64]
needs: health-check
if: needs.health-check.outputs.healthy == 'true'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playground-uptime-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
uptime-check:
name: Check playground.dakera.ai health
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, arm64]
timeout-minutes: 3
steps:
- name: Health check
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/runner-wedged-watchdog.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Wedged Runner Auto-Heal (DAK-7528)

# Detects self-hosted runners that are busy=true with no active job (wedged state)
# and auto-restarts them. Runs on GitHub-hosted ubuntu-latest so it works even when
# all self-hosted runners are wedged.
# and auto-restarts them. Runs on the x64 self-hosted runner (DAK-7665) so it
# survives GitHub-hosted billing outages. Partial self-reference trade-off: if the
# x64 runner itself is wedged, this job cannot run — but ARM is still monitored.
# Full coverage requires an independent monitor; partial coverage beats zero during
# a GitHub Actions billing lock.
#
# Wedged signature:
# - Runner shows busy=true in GitHub API
Expand Down Expand Up @@ -39,7 +42,7 @@ env:
jobs:
detect-and-heal:
name: Detect + auto-heal wedged runners
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
steps:
- name: Check runner busy state and CI queue
id: runner-check
Expand Down