# Forgejo pagination proof fixture

Real upstream binaries: Forgejo 13.0.2 and forgejo-cli (fj) 0.6.0, Linux x86_64. No API responses or CLIs are stubbed.

Run a fresh Forgejo instance bound to 127.0.0.1:3177 with ROOT_URL http://localhost:3177/, SQLite, SSH disabled, registration disabled, and INSTALL_LOCK=true. Create the synthetic administrator alice (alice@example.invalid), then generate an all-scopes access token into a file named `token` beside seed.py. Run `python3 seed.py` once on the empty instance.

Authenticate the real fj binary with `fj --host http://localhost:3177 auth add-token < token`, setting XDG_DATA_HOME to an isolated directory. Place fj in the fixture directory. Run the uploaded scenario from a checkout of main with the scenario runner. FORGEJO_PROOF_FIXTURE names that fixture directory; XDG_DATA_HOME names fj's isolated credential directory. Pass both through T3_SCENARIO_INHERIT_ENV. The scenario copies fj to the runner's isolated bin directory, and registers synthetic git projects through the real application CLI.

Each side gets its own fresh T3 database. The upstream fixture is shared and read-only during proof: alice/small has one open issue, two labels (bug, feature), and alice as its sole assignable user. alice/big has 52 open issues.

Actual API headers: small/issues and small/labels have X-Total-Count 1 and 2, respectively, and no Link. small/assignees has neither header. big/issues page 1 has 50 rows and next/last links; page 2 has two rows and first/prev links. Both big pages have X-Total-Count 52.

Web environment: Chromium, 1280 x 800, light theme, scenario environment label. The app uses fj authentication and its own HTTP transport to real Forgejo.
