ci(molecule): correct the stale fork claims #362

Merged
Defame1297 merged 1 commits from ci/178-stale-fork-claims into main 2026-11-25 08:08:36 +00:00
Owner

What and why

Closes #178

  • .gitea/workflows/molecule.yml header: no longer says only trusted people can open pull requests here (an outsider can open a fork pull request). It names the two boundaries: write access, and Gitea's approval gate on fork runs, kept shut by the fork rule in docs/contributing/reviewing.md. The fork guard in the job's if: is unchanged and stays a convenience filter.
  • The Molecule rule in .gitea/workflows/AGENTS.md says the same.
  • docs/agents/issue-tracker.md, "PRs as a request surface: no": fork pull requests are closed unmerged with a pointer to issues.

CONTRIBUTING.md, the root AGENTS.md, reviewing.md and ADR 0001 already matched the decision, so they are not edited. The GLOSSARY Friend entry is already gone (only "friend" under Avoid remains). No changelog fragment: nothing a consumer sees changes.

Gitea, a required check whose job is skipped: treated as passed, per the Gitea source on current main. toCommitStatus (services/actions/commit_status.go) maps a skipped job to the commit status skipped; Combine() (modules/commitstatus/commit_status.go) counts skipped as success; MergeRequiredContextsCommitStatus (services/pull/commit_status.go) returns that combined state when every required context has a status. A required context with no status at all stays pending. Not checked against a Gitea 28 release tag.

Verified

  • pre-commit run --all-files in .venv: all hooks pass; the commit-stage and commit-msg hooks passed on commit.
  • ansible-test sanity passed in the pre-push hook.
  • Repo-wide grep for friend, first merged, every push, does not accept fork, only trusted people can: only the GLOSSARY Avoid line remains.
  • The diff touches no line of the job's if: guard.

Not verified

  • Lint, Build and Molecule: they run in CI only. Molecule runs every scenario, because molecule.yml is not an IGNORED path.
  • That the guard skips a real fork pull request: testing it would mean opening one.
  • How the guard and Gitea's approval gate treat an AGit pull request: its head repository may be the base repository, so the guard may not skip it. The wording makes no claim about AGit.
  • The skipped-check finding against a specific Gitea release.

  • I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.

Assisted-by: Claude Code

## What and why Closes #178 - `.gitea/workflows/molecule.yml` header: no longer says only trusted people can open pull requests here (an outsider can open a fork pull request). It names the two boundaries: write access, and Gitea's approval gate on fork runs, kept shut by the fork rule in `docs/contributing/reviewing.md`. The fork guard in the job's `if:` is unchanged and stays a convenience filter. - The Molecule rule in `.gitea/workflows/AGENTS.md` says the same. - `docs/agents/issue-tracker.md`, "PRs as a request surface: no": fork pull requests are closed unmerged with a pointer to issues. `CONTRIBUTING.md`, the root `AGENTS.md`, `reviewing.md` and ADR 0001 already matched the decision, so they are not edited. The GLOSSARY Friend entry is already gone (only "friend" under _Avoid_ remains). No changelog fragment: nothing a consumer sees changes. **Gitea, a required check whose job is skipped:** treated as passed, per the Gitea source on current `main`. `toCommitStatus` (`services/actions/commit_status.go`) maps a skipped job to the commit status `skipped`; `Combine()` (`modules/commitstatus/commit_status.go`) counts skipped as success; `MergeRequiredContextsCommitStatus` (`services/pull/commit_status.go`) returns that combined state when every required context has a status. A required context with no status at all stays pending. Not checked against a Gitea 28 release tag. ## Verified - `pre-commit run --all-files` in `.venv`: all hooks pass; the commit-stage and commit-msg hooks passed on commit. - `ansible-test sanity` passed in the pre-push hook. - Repo-wide grep for `friend`, `first merged`, `every push`, `does not accept fork`, `only trusted people can`: only the GLOSSARY _Avoid_ line remains. - The diff touches no line of the job's `if:` guard. ## Not verified - Lint, Build and Molecule: they run in CI only. Molecule runs every scenario, because `molecule.yml` is not an IGNORED path. - That the guard skips a real fork pull request: testing it would mean opening one. - How the guard and Gitea's approval gate treat an AGit pull request: its head repository may be the base repository, so the guard may not skip it. The wording makes no claim about AGit. - The skipped-check finding against a specific Gitea release. --- - [x] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none. Assisted-by: Claude Code
Claude added this to the Open to contributors milestone 2026-11-25 07:10:14 +00:00
Defame1297 was assigned by Claude 2026-11-25 07:10:14 +00:00
Claude added 1 commit 2026-11-25 07:10:14 +00:00
ci(molecule): correct the stale fork claims
Build / build (pull_request) Successful in 17s
Lint / lint (pull_request) Successful in 1m20s
Molecule / molecule (pull_request) Successful in 17m29s
ae28d5452c
The molecule.yml header said only trusted people can open pull
requests here; an outsider can open a fork pull request. It now names
the two boundaries: write access, and Gitea's approval gate on fork
runs, kept shut by the fork rule in reviewing.md. The fork guard in
the job's if: stays a convenience filter. The Molecule rule in
.gitea/workflows/AGENTS.md says the same, and issue-tracker.md says
fork pull requests are closed with a pointer to issues.

Closes #178

Assisted-by: Claude Code
CODEOWNERS rules requested review from Defame1297 2026-11-25 07:10:14 +00:00
Defame1297 scheduled this pull request to auto merge when all checks succeed 2026-11-25 07:11:03 +00:00
Defame1297 scheduled this pull request to auto merge when all checks succeed 2026-11-25 08:08:08 +00:00
Defame1297 approved these changes 2026-11-25 08:08:33 +00:00
Defame1297 merged commit 8a1fca1061 into main 2026-11-25 08:08:36 +00:00
Defame1297 deleted branch ci/178-stale-fork-claims 2026-11-25 08:08:37 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#362