feat: restore smoke-init CI pipeline using mock Forgejo #124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
smoke-initCI pipeline was removed (commite351e02) because Forgejo startup timed out in the Docker-in-LXD environment. The test scripttests/smoke-init.shhas been deleted.What to do
Restore the smoke-init pipeline using the mock Forgejo server from the previous issue instead of a real Forgejo instance.
1. Restore
.woodpecker/smoke-init.ymlKey differences from the old pipeline:
python:3-alpine(lightweight) instead ofcodeberg.org/forgejo/forgejo:11.0(heavy)2. Restore and update
tests/smoke-init.shRestore the test from commit
e351e02^with these changes:su-exec git forgejo webor readiness pollingPOST /admin/userscall creates the admindocker exec disinto-forgejo forgejo admin user create. Now init talks to the API mock directly.claude auth status)http://localhost:${MOCK_FORGE_PORT:-3000}GET /mock/state(a debug endpoint on the mock) to verify all expected users, repos, labels, and collaborators were created3. Path trigger scope
Only run on changes to:
bin/disinto(the init code)lib/load-project.sh,lib/env.sh(init dependencies)tests/**(test changes).woodpecker/smoke-init.yml(pipeline changes)Not triggered on: formula changes, agent scripts, docs — those don't affect init.
4. Expected test flow
Affected files
.woodpecker/smoke-init.yml(new — restored with mock approach)tests/smoke-init.sh(new — restored and updated for mock)Acceptance criteria
Dependencies
Depends on #123 (mock Forgejo server).
Blocked — issue #124
ci_exhausted2026-04-01T19:30:58Z