-
fork: QE: re-point the FAR-256 egress-guard test at FAR-259's private_host reason (FAR-266)
released this
2026-10-23 13:30:56 +00:00 | 3301 commits to local since this releaseThe Gitea listing names the egress guard's private-address refusal
private_host
since FAR-259 (PR #133), notunavailable. Four of the seven cases in
providers.far256.qe.test.ts pinned the old vocabulary.Re-pointed, with the property unchanged: a host the guard refused is never
described as a host that refused the token, and the Gitea project-repository
reads stay behind the guard.Case 1's observation point moves with the vocabulary: the provider now maps
the guard's refusal to GiteaListingFailure("private_host") rather than
letting the raw GiteaPrivateHost through, so the case asserts the refusal at
that boundary and keeps every other assertion (the guard was asked about the
host, nothing was sent, neither the token nor the resolved address appears in
the failure).No assertion was relaxed, added or removed. Test code only.
Downloads