GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — fix(go): resolve server scheme lookups through wildcard registrations by Revinand · Pull Request #3862 · x402-foundation/x402 Conversation
|
|
@Revinand is attempting to deploy a commit to the Coinbase Team on Vercel. A member of the Team first needs to authorize it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 0b0159dc0cd42ae4bc5f93f81c601e26f9f3f7a2 against confirmed main/merge-base faa1c694c66a3732aaabbce93bdae140e521a67d.
No documented-standard findings.
The original #3861 single-wildcard case is fixed in my CPU checks. Both newly committed regressions pass here and fail when run against main’s implementation.
Requesting changes for one new P2 in the inline comment: when a concrete registration has no lifecycle hooks, hook lookup can select a hooked wildcard registration even though scheme lookup, requirement construction and settlement enrichers select the concrete implementation. An aborting wildcard hook incorrectly blocks verification or settlement before the in-process facilitator is called.
Independent checks on macOS arm64 / Go 1.24.5:
-race -count=1: 233 top-level tests pass, 1 existing test skips; baseline 231 pass, 1 skips. The two new tests are included, not additional to that total.Scope: local fixture schemes and facilitator doubles, not valid signatures, live payment/settlement/RPC, production, full Go SDK/monorepo or Linux/Go 1.26.6 verification. Full golangci-lint/goimports were not run.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
0b0159d to
25eba09
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Rechecked 25eba09956152c5238b0441364eac3f0796f445f against the confirmed main/merge-base faa1c694c66a3732aaabbce93bdae140e521a67d and the prior reviewed head 0b0159dc0cd42ae4bc5f93f81c601e26f9f3f7a2.
No documented-standard findings.
The hook-isolation issue from my previous review no longer reproduces in the covered cases. Resolving the registration in s.schemes before reading its hook slot keeps an exact registration without lifecycle hooks from inheriting wildcard hooks. Both registration orders and replacement of a hooked exact implementation with an unhooked one pass. Hook dispatch and settlement payload/response enrichers select the same exact implementation in these controls; the single-wildcard behavior from #3861 remains working.
Independent CPU checks on macOS arm64 / Go 1.24.5:
-race -count=1: 234 top-level tests pass, 1 existing skip. The new regression and its three cases are included, not added again to this total.No new blocking finding in this scope. These checks use local fixture schemes and facilitator doubles, not live signatures, payment/settlement/RPC, Linux parity, full SDK/monorepo or an overlapping-wildcard specificity guarantee. Full golangci-lint/goimports were not run.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@sunruize93-cmyk Hi. Do you need anything else from my side for this PR approval and merging? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Approving 25eba09956152c5238b0441364eac3f0796f445f following my follow-up review. The prior hook-isolation finding is addressed: an exact registration without hooks no longer inherits wildcard hooks. I have no further blocking findings in the reviewed scope.
Prior exact-head validation on 2026-10-22 (macOS arm64 / Go 1.24.5): core/HTTP race suites passed 234 top-level tests with one existing skip; 120 selection controls and six minimal abort controls passed in three runs. Builds, vet and changed-file formatting checks passed. These used local fixture schemes and facilitator doubles, without live payments/RPC or full-SDK/Linux validation. No tests were rerun for this approval.
CI attempt 2 remains red on merge snapshot 73ed6ec06085361bbd5fd845a190de0d238fa5d3: Go compilation fails at eip3009.go:109/112, and two Next default-response assertions fail. Read-only comparison confirmed that the failing Go file and the entire TypeScript subtree match base c2a8924eb5dfe53806352d73c46a87d2a9e34038, outside this PR's five-file Go diff. Those CI failures still need maintainer attention before merging.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@CarsonRoscoe Hi. Could you review and approve it, please? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Hey @Revinand, thanks for the PR! The checklist is all set as of
I keep this comment up to date as you push (last checked |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@CarsonRoscoe I have fixed CI errors. Could you approve pending workflows please? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
At least 1 approving review is required to merge this pull request.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Go resource server does not resolve wildcard network registrations such as eip155:*
There was an error while loading. Please reload this page.