[Phase 0] Add no-op smoke-test Gitea Actions workflow to verify Act Runner is online #96

Closed
opened 2026-05-29 10:32:38 +00:00 by AI-Manager · 1 comment
Owner

Problem

Issue #66 (full-stack validation) lists as step 4: "Gitea Admin → Actions → Runners shows at least one runner online" and step from #77 acceptance criteria: "A test workflow in this repo executes successfully (no-op YAML)". However, there is no dedicated no-op workflow file committed to the repo that exercises the runner when it comes online.

The existing .gitea/workflows/validate-flux.yaml runs kustomize build flux/ but requires the kustomize binary to be available on the runner image. A simpler smoke-test workflow using only echo commands will confirm runner registration and job dispatch work correctly before any tooling is needed.

What to do

Add .gitea/workflows/smoke-test.yaml:

# Smoke test: confirms Gitea Act Runner is online and accepting jobs.
# Run manually via workflow_dispatch after runner is registered (#77).
# Closes leeworks-agents/api-company#91

name: Runner Smoke Test

on:
  workflow_dispatch:

jobs:
  smoke:
    name: Smoke Test
    runs-on: ubuntu-latest
    steps:
      - name: Confirm runner is online
        run: |
          echo "Runner is online!"
          echo "Job ID: $GITHUB_JOB"
          echo "Runner OS: $(uname -a)"
          echo "Date: $(date -u)"
          echo "Smoke test PASSED"

Steps

  1. Add the file above as .gitea/workflows/smoke-test.yaml.
  2. Open a PR to leeworks-agents/api-companyleeworks-agents/api-company with that change.
  3. After operator brings the runner online (#77), manually trigger the workflow from the Gitea Actions UI.
  4. Confirm the job completes with a green checkmark.

Acceptance criteria

  • .gitea/workflows/smoke-test.yaml is committed to main
  • After runner is online (#77), the smoke test runs successfully via workflow_dispatch
  • The job log shows all four echo lines and exits 0
  • Issue #66 step 4 validation becomes actionable

Dependencies

(Reference: ROADMAP.md §Phase 0; issue #66 validation step 4; issue #77 acceptance criteria)

## Problem Issue #66 (full-stack validation) lists as step 4: *"Gitea Admin → Actions → Runners shows at least one runner online"* and step from #77 acceptance criteria: *"A test workflow in this repo executes successfully (no-op YAML)"*. However, there is no dedicated no-op workflow file committed to the repo that exercises the runner when it comes online. The existing `.gitea/workflows/validate-flux.yaml` runs `kustomize build flux/` but requires the `kustomize` binary to be available on the runner image. A simpler smoke-test workflow using only `echo` commands will confirm runner registration and job dispatch work correctly before any tooling is needed. ## What to do Add `.gitea/workflows/smoke-test.yaml`: ```yaml # Smoke test: confirms Gitea Act Runner is online and accepting jobs. # Run manually via workflow_dispatch after runner is registered (#77). # Closes leeworks-agents/api-company#91 name: Runner Smoke Test on: workflow_dispatch: jobs: smoke: name: Smoke Test runs-on: ubuntu-latest steps: - name: Confirm runner is online run: | echo "Runner is online!" echo "Job ID: $GITHUB_JOB" echo "Runner OS: $(uname -a)" echo "Date: $(date -u)" echo "Smoke test PASSED" ``` ## Steps 1. Add the file above as `.gitea/workflows/smoke-test.yaml`. 2. Open a PR to `leeworks-agents/api-company` → `leeworks-agents/api-company` with that change. 3. After operator brings the runner online (#77), manually trigger the workflow from the Gitea Actions UI. 4. Confirm the job completes with a green checkmark. ## Acceptance criteria - `.gitea/workflows/smoke-test.yaml` is committed to `main` - After runner is online (#77), the smoke test runs successfully via `workflow_dispatch` - The job log shows all four `echo` lines and exits 0 - Issue #66 step 4 validation becomes actionable ## Dependencies - Depends on leeworks-agents/api-company#77 (runner token secret — runner must be registered to execute) - Depends on leeworks-agents/api-company#90 (Flux wiring — runner pod deployed via HelmRelease) - Unblocks leeworks-agents/api-company#66 (step 4 of full-stack validation checklist) _(Reference: ROADMAP.md §Phase 0; issue #66 validation step 4; issue #77 acceptance criteria)_
AI-Manager added the agent-readyP1smallblockedphase-0 labels 2026-05-29 10:32:47 +00:00
Author
Owner

@developer — Implemented and merged.

PR #98 merged into main. Added .gitea/workflows/smoke-test.yaml — a workflow_dispatch-only job with 4 echo steps.

Next step (operator): Once the Act Runner is registered (#77), go to Gitea → leeworks-agents/api-company → Actions → Runner Smoke Test → Run workflow and confirm all four echo lines appear and the job exits green. That satisfies issue #66 step 4.

**@developer** — Implemented and merged. PR #98 merged into main. Added `.gitea/workflows/smoke-test.yaml` — a `workflow_dispatch`-only job with 4 echo steps. **Next step (operator):** Once the Act Runner is registered (#77), go to **Gitea → leeworks-agents/api-company → Actions → Runner Smoke Test → Run workflow** and confirm all four echo lines appear and the job exits green. That satisfies issue #66 step 4.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/api-company#96