chore(tools): test requests for Longshot's pull requests on git.magicbean.dev #5

Merged
HumanBean merged 1 commit from HumanBean/Longshot:forgejo-test-requests into main 2026-11-12 21:41:38 +00:00
Owner

Test requests are moving from Hookshot's GitHub to Longshot on git.magicbean.dev, so the scripts and guides have to name Longshot's pull requests there and post results there.

Uses forge.py and the team sign-in from #3.

  • scripts/test_requests.py: a request links to https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/<n>, and done takes a comment link on that PR (#issuecomment-…). The PR's state and labels come from git.magicbean.dev. A request is approved when the PR's author may push to Longshot (checked with the team sign-in), or the PR has the testing wanted label (now a label on Longshot). Same replay rules as the relay, which already reads these links.
  • Testers check out a PR with forge.py pr checkout <n> and comment with forge.py pr comment <n> --body-file …; the comment link it prints is what done takes. docs/test-requests.md and the testing and request-testing skills say so, and setup is now one step: forge.py login.
  • tests/test_test_requests.py follows the new links and approval; it passes.

On the server side (not in this repository) the relay already shows Longshot requests in the MagicBean server's #test-requests, approves them through Forgejo, posts a request for a PR when the label is added, and updates within seconds through a Forgejo webhook. Requests for Hookshot's GitHub PRs show as closed.

Test requests are moving from Hookshot's GitHub to Longshot on git.magicbean.dev, so the scripts and guides have to name Longshot's pull requests there and post results there. Uses `forge.py` and the team sign-in from #3. - `scripts/test_requests.py`: a request links to `https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/<n>`, and `done` takes a comment link on that PR (`#issuecomment-…`). The PR's state and labels come from git.magicbean.dev. A request is approved when the PR's author may push to Longshot (checked with the team sign-in), or the PR has the `testing wanted` label (now a label on Longshot). Same replay rules as the relay, which already reads these links. - Testers check out a PR with `forge.py pr checkout <n>` and comment with `forge.py pr comment <n> --body-file …`; the comment link it prints is what `done` takes. `docs/test-requests.md` and the `testing` and `request-testing` skills say so, and setup is now one step: `forge.py login`. - `tests/test_test_requests.py` follows the new links and approval; it passes. On the server side (not in this repository) the relay already shows Longshot requests in the MagicBean server's #test-requests, approves them through Forgejo, posts a request for a PR when the label is added, and updates within seconds through a Forgejo webhook. Requests for Hookshot's GitHub PRs show as closed.
Forgejo tooling: one sign-in for git and the team chat, scripts/forge.py for forks, pull requests and issues
Some checks failed
Linux AppImage / appimage (pull_request) Has been cancelled
Linux AppImage / Release asset (pull_request) Has been cancelled
Game-free source regressions / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
Game-free source regressions / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
Game-free source regressions / Python source checks (windows-2022, part 1/2) (pull_request) Has been cancelled
Game-free source regressions / Python source checks (windows-2022, part 2/2) (pull_request) Has been cancelled
Game-free source regressions / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
Game-free source regressions / Workflow lint (actionlint) (pull_request) Has been cancelled
Windows builder / Longshot Builder package and setup (pull_request) Has been cancelled
Windows builder / Windows Vulkan back end (llvm-mingw) (pull_request) Has been cancelled
Windows builder / dav1d for Windows (llvm-mingw) (pull_request) Has been cancelled
Windows builder / Release assets (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request_target) Has been cancelled
3964f97325
Everything on magicbean.dev signs in through Forgejo, so there is now one sign-in: Sign in with Discord on
git.magicbean.dev gives a git token (Forgejo's built-in OAuth application for git, PKCE, nothing secret in the
repository), and the team chat's session comes from that token through the team's sign-in service, without a second
trip through the browser. scripts/magicbean_login.py, used by team_chat.py, test_requests.py and forge.py.

scripts/forge.py: login makes the person's fork of Longshot, adds the remotes forge (fetch) and forge-fork (push), and
serves as git's credential helper for git.magicbean.dev; pr create|list|view|comment|checkout and
issue list|view|create|comment. docs/forge.md is the guide for people (fj, the Forgejo CLI, as an option); AGENTS.md
has the steps for agents.
chore(tools): test requests for Longshot's pull requests on git.magicbean.dev
Some checks failed
PR title / Conventional Commit title (pull_request_target) Has been cancelled
Linux AppImage / appimage (pull_request) Has been cancelled
Linux AppImage / Release asset (pull_request) Has been cancelled
Game-free source regressions / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
Game-free source regressions / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
Game-free source regressions / Python source checks (windows-2022, part 1/2) (pull_request) Has been cancelled
Game-free source regressions / Python source checks (windows-2022, part 2/2) (pull_request) Has been cancelled
Game-free source regressions / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
Game-free source regressions / Workflow lint (actionlint) (pull_request) Has been cancelled
Windows builder / Longshot Builder package and setup (pull_request) Has been cancelled
Windows builder / Windows Vulkan back end (llvm-mingw) (pull_request) Has been cancelled
Windows builder / dav1d for Windows (llvm-mingw) (pull_request) Has been cancelled
Windows builder / Release assets (pull_request) Has been cancelled
8196ae5a3b
Test requests now name Longshot's pull requests on git.magicbean.dev: scripts/test_requests.py reads a PR's state and
labels there, and approves a request when its author may push to Longshot or the PR has the testing wanted label (the
author check uses the team sign-in). Results go on the PR as a comment with forge.py pr comment, and done takes that
comment's link. The testing guide and the testing and request-testing skills use forge.py instead of gh.
HumanBean force-pushed forgejo-test-requests from 8196ae5a3b
Some checks failed
PR title / Conventional Commit title (pull_request_target) Has been cancelled
Linux AppImage / appimage (pull_request) Has been cancelled
Linux AppImage / Release asset (pull_request) Has been cancelled
Game-free source regressions / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been cancelled
Game-free source regressions / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been cancelled
Game-free source regressions / Python source checks (windows-2022, part 1/2) (pull_request) Has been cancelled
Game-free source regressions / Python source checks (windows-2022, part 2/2) (pull_request) Has been cancelled
Game-free source regressions / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been cancelled
Game-free source regressions / Workflow lint (actionlint) (pull_request) Has been cancelled
Windows builder / Longshot Builder package and setup (pull_request) Has been cancelled
Windows builder / Windows Vulkan back end (llvm-mingw) (pull_request) Has been cancelled
Windows builder / dav1d for Windows (llvm-mingw) (pull_request) Has been cancelled
Windows builder / Release assets (pull_request) Has been cancelled
to 6d01fc94a3 2026-11-12 21:34:10 +00:00
Compare
HumanBean deleted branch forgejo-test-requests 2026-11-12 21:41:38 +00:00
Sign in to join this conversation.
No description provided.