Skip to content

fix: restore Salesforce and Go 1.27 compatibility - #16

Merged
intel352 merged 1 commit into
mainfrom
fix/salesforce-go127-compatibility-20261128
Nov 29, 2026
Merged

intel352 merged 1 commit into
mainfrom
fix/salesforce-go127-compatibility-20261128

Conversation

@intel352

Copy link
Copy Markdown
Contributor

CRM pins Salesforce v0.2.0, the version associated with the recorded checksum failure, and x/net v0.54.0, which lacks the HTTP/2 compatibility symbol used by gRPC on Go 1.27. This updates Salesforce to checksum-verified v0.2.6, raises the minimum Go version to 1.26.4, and updates x/net to v0.62.0 and x/crypto to v0.59.0, with their required companion updates. gRPC remains at v1.81.1.

The added regressions cover token configuration, delegated authentication errors, request headers and context, and the SDK's stored-token contract using synthetic inputs and local transports.

Validation on macOS arm64 with official Go 1.27.4:

  • Full package build and vet passed.
  • The maintained race suite passed: 36 top-level tests, 39 leaf cases, 41 named completions; zero failed or skipped cases. The command package has no tests.
  • Actual wfctl v0.85.4 generated one fresh CRM API page from an exact-tree local fixture, with no warnings or retained-snapshot output.

All results bind tree c855aac40f35ed37e983645edaa85db87f85cbe9. Checksum verification remained enabled; the previously rejected Salesforce v0.2.0 download was not fetched again. Hosted Linux CI, its pinned wfctl v0.20.1 strict-contract job, live Salesforce/OAuth and website adoption remain unverified. CI currently selects Go from go.mod, whose minimum is 1.26.4; the local checks above used Go 1.27.4. The local docs fixture is not a published release or a website v0.87.0 replay.

Use checksum-verified Salesforce v0.2.6 and its Go 1.26.4 minimum.
Align the golang.org/x dependency cohort for Go 1.27 HTTP/2 compatibility
while retaining gRPC v1.81.1. Add local adapter and SDK contract regressions.
@intel352
intel352 marked this pull request as ready for review November 28, 2026 03:21
@intel352
intel352 merged commit 80bed31 into main Nov 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant