Repository navigation
test(forge-lab): containerised Gitea forge evidence for 1.0 - #782
Merged
Merged
Conversation
Adds tests/forge-lab/ (up.sh, record.sh, down.sh): a disposable Gitea 28.1.0 and act_runner v0.6.1 on a private Docker network, a seeded test repository running the documented job-container recipe on pull_request and push, and the five records Phase 11 Step 0 row 2 lists, each asserted on its diagnostic. docs/ROADMAP.md records the RUN 2026-10-16 results: Step 0 row 2 done, the 1.0 forge-evidence criterion met, and the Gitea Actions bullet of Outstanding Checks summarised. Closes #774 Signed-off-by: Nicolas Brousse <nicolas@brousse.info>
orieg
enabled auto-merge (squash)
October 16, 2026 18:51
…b-d1b8c6 Signed-off-by: Nicolas Brousse <nicolas@brousse.info> # Conflicts: # docs/ROADMAP.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #774
Adds
tests/forge-lab/, a re-runnable lab that produces the 1.0 forge evidence (Phase 11 Step 0 row 2) from a disposable Gitea andact_runnerin Docker, and records the results in docs/ROADMAP.md.up.sh: Gitea 28.1.0 andact_runnerv0.6.1 on a private Docker network, pinned by tag and digest; an admin and a test user with generated throwaway credentials kept outside the repository; a test repository seeded with the base oftests/action/make-fixture.sh, adiscipline.tomlwritten bydiscipline initof v0.22.0, the job-container recipe extracted verbatim from docs/CONFIGURATION.md (image pinned by tag and digest,refs/pull/<n>/headcheckout; the run line also prints the JSON report) and its push counterpart; a branch rule requiring the recipe's check with the workflows as protected files; the runner registered with a one-use token passed through the environment.record.sh: the five records, each asserted on its diagnostic (log line, JSON report field, forge router log), never on an exit code alone.down.sh: removes the containers, the network and the state directory.RUN 2026-10-16, a full
down.sh && up.sh && record.shcycle:act_runnerv0.6.1, discipline 0.22.0.Status: PASS, no gate in the report.assertion-reduction,pii,time-estimates,unsafe-safety-comment,vacuous-tests.mainafter the squash merge: success, notemerged-pr-body: commit <sha> arrived through merged pull request #1 (author tester); Gitea loggedGET /api/v1/repos/tester/sample/commits/<sha>/pull200.discipline doctor: exit 0;required-check,workflow-protection,up-to-date,force-push,deletion,pull-requestPass; the review, CODEOWNERS, token-permission, bypass and tag-protection Warns reflect settings the lab repository does not set.Discrimination (RUN):
assert-report.shon the canary report fails with a gate removed from the expected set and fails underpass; the router-log grep fails for a sha that was not requested.The push workflow sets
DISCIPLINE_FORGE_ALLOW_HTTP=1because the lab forge serves plain HTTP on the private network. Forgejo with its runner is not covered here.No workflow file of this repository changes; the lab's workflows exist only inside the disposable forge.