Skip to content

ci: add Mainloop fork fixture gate - #4

Merged
oldsj merged 1 commit into
mainloop-substrate-0-4from
mainloop-fork-ci
Oct 7, 2026
Merged

oldsj merged 1 commit into
mainloop-substrate-0-4from
mainloop-fork-ci

Conversation

@oldsj

@oldsj oldsj commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Adds a lightweight CI gate for the Mainloop deployment branch
(mainloop-substrate-0-4). The upstream CI workflow does not run here
and its full suite needs heavyweight Kubernetes E2E and Blacksmith
runners.

What it runs:

  • go test ./core/internal/controller/chatgptrefresh -count=1 -timeout=180s
  • go vet ./core/internal/controller/chatgptrefresh

Triggers: PRs targeting and pushes to mainloop-substrate-0-4, and
workflow_dispatch. No path filters. Read-only token, no secrets.

The step summary records event SHA, checkout SHA and PR head SHA, so a
result can be matched to the exact candidate before it counts as
evidence.

Not covered: image build/publication, live provider calls, container or
Kubernetes E2E. A pass here does not prove deployment readiness.

DEVELOPMENT.md documents the gate and the manual dispatch command.

Run the chatgptrefresh fixture tests and go vet on a standard
GitHub-hosted runner for pull requests and pushes to
mainloop-substrate-0-4, plus manual dispatch. The step summary records
the event, ref, event SHA, checkout SHA and PR head SHA so a remote
result can be matched to the published candidate.

The gate uses synthetic credentials, fake Kubernetes clients and a
fixture CLI. It needs no secrets and does not cover image builds, live
provider calls or Kubernetes E2E. Upstream CI is unchanged.

Signed-off-by: James Olds <12104969+oldsj@users.noreply.github.com>
@oldsj
oldsj merged commit f7f8c77 into mainloop-substrate-0-4 Oct 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant