Commit graph naco-api/cmd/check-facilitator
Author SHA1 Message Date
3b443eff36
refactor: harden HTTP clients with timeouts, per-relay ctx, rate-limit handling 2026-09-08 01:11:13 +00:00
fe22a9779f
Add comprehensive debugging for CDP auth 401 issue
Some checks failed
CI/CD Go Verification / build_and_test (push) Successful in 1m11s
Test Every Endpoint on Base Sepolia / test_endpoints (push) Failing after 1m40s
- Workflow: Debug CDP Secret Format step prints secret characteristics (length, newlines, first/last chars)
- check-facilitator: Added extensive debug logging:
  - Key name, secret length, first 80 chars
  - Literal vs actual newline detection
  - PEM block parsing (SEC1 vs PKCS8 detection)
  - Signing method used
  - JWT claims decoded from generated tokens
  - Full request/response logging
- auth.go: Added GetSigningMethod() for debugging
- All tests pass, gofmt/go vet clean
2026-09-05 00:25:59 +00:00
bf7a91ca89
Switch CI to PayAI facilitator (supports exact + upto)
Some checks failed
test-endpoints.yaml / Switch CI to PayAI facilitator (supports exact + upto) (push) Failing after 0s
CI/CD Go Verification / build_and_test (push) Has been cancelled
- PayAI facilitator supports both exact and upto schemes on Base Sepolia
- Workflow and start-test-server.sh: X402_FACILITATOR_URL -> https://facilitator.payai.network
- check-facilitator: handles payai.network as no-auth facilitator like Mogami
2026-09-04 23:06:42 +00:00
3717a37748
Switch CI to Mogami facilitator for testing (no auth)
Some checks failed
test-endpoints.yaml / Switch CI to Mogami facilitator for testing (no auth) (push) Failing after 0s
CI/CD Go Verification / build_and_test (push) Successful in 1m9s
- Workflow: X402_FACILITATOR_URL -> https://v2.facilitator.mogami.tech/
- start-test-server.sh: same facilitator URL
- check-facilitator: auto-detects facilitator type, skips auth for Mogami
- This unblocks CI testing while CDP facilitator auth is investigated
2026-09-04 22:51:54 +00:00
832bbba8ed
Add check-facilitator binary for CI facilitator verification
Some checks failed
Test Every Endpoint on Base Sepolia / test_endpoints (push) Failing after 1m17s
CI/CD Go Verification / build_and_test (push) Successful in 1m6s
- New cmd/check-facilitator/main.go uses internal/server auth package (same logic as server)
- CI workflow builds and runs binary instead of inline script
- Ensures auth logic matches server exactly, eliminates drift
- Prints supported networks/kinds from facilitator /supported endpoint
2026-09-04 22:22:08 +00:00