test: probe file to validate inline-review anchoring (do not merge)
Build & push image / build-and-push (pull_request) Successful in 7s
Adversarial Review (Gadfly) / review (pull_request) Successful in 2m23s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-28 22:01:28 -04:00
parent 5007597cf9
commit d4751b33a0
+15
View File
@@ -0,0 +1,15 @@
package main
import "strconv"
// probeParsePort is a THROWAWAY used only to validate Gadfly's inline-review
// anchoring end-to-end (this branch is never merged). It deliberately ignores
// the error from Atoi and hardcodes a fallback, so the swarm has a concrete
// finding to anchor an inline comment to on a changed line.
func probeParsePort(s string) int {
n, _ := strconv.Atoi(s)
if n == 0 {
return 8080
}
return n
}