Fix Fleet prefetch with Git credential capability arrays #20

Merged
adam merged 1 commit from codex/runner-credential-arrays into main 2026-10-11 18:01:08 -04:00
Owner

The first live Fleet-prefetch attempt fails before runner registration: Git 2.54 sends two capability[] fields, and the credential helper treats their repetition as an ambiguous destination. Git then reports that no username was supplied.

Ignore the documented multi-valued capability[], wwwauth[] and state[] metadata, which this username/password helper does not consume. Preserve the exact HTTPS host/repository binding, duplicate scalar-field rejection, 4 KiB input bound and get-only behavior. No credential scope, guest delivery or admission policy changes.

Validation: all 287 public Python tests pass. A new real-Git credential-fill regression fails against the deployed helper and passes with this fix; the existing Nix integration check also passes, including offline resolution of an unchanged locked flake. Required ARM policy and x86 Forgejo checks remain unchanged. Live source delivery stays held until the fix passes CI, merges and is deployed through a reviewed runner upgrade.

Protocol reference: https://git-scm.com/docs/git-credential#IOFMT

The first live Fleet-prefetch attempt fails before runner registration: Git 2.54 sends two `capability[]` fields, and the credential helper treats their repetition as an ambiguous destination. Git then reports that no username was supplied. Ignore the documented multi-valued `capability[]`, `wwwauth[]` and `state[]` metadata, which this username/password helper does not consume. Preserve the exact HTTPS host/repository binding, duplicate scalar-field rejection, 4 KiB input bound and get-only behavior. No credential scope, guest delivery or admission policy changes. Validation: all 287 public Python tests pass. A new real-Git credential-fill regression fails against the deployed helper and passes with this fix; the existing Nix integration check also passes, including offline resolution of an unchanged locked flake. Required ARM policy and x86 Forgejo checks remain unchanged. Live source delivery stays held until the fix passes CI, merges and is deployed through a reviewed runner upgrade. Protocol reference: https://git-scm.com/docs/git-credential#IOFMT
Accept Git credential capability arrays for Fleet prefetch
All checks were successful
Validate infrastructure / Infrastructure policy (pull_request) Successful in 47s
Validate infrastructure / forgejo (pull_request) Successful in 14m33s
6ed8325414
adam merged commit a4d892d0c6 into main 2026-10-11 18:01:08 -04:00
Sign in to join this conversation.
No description provided.