Skip to content

feat: upgrade go, upgrade deps & minor fixes#90

Merged
mrz1836 merged 7 commits intomasterfrom
fix/caching
Mar 20, 2026
Merged

feat: upgrade go, upgrade deps & minor fixes#90
mrz1836 merged 7 commits intomasterfrom
fix/caching

Conversation

@mrz1836
Copy link
Collaborator

@mrz1836 mrz1836 commented Mar 20, 2026

This pull request updates the project to use Go 1.26.x and upgrades several dependencies, while also simplifying and modernizing the example code for the SHIP API. The changes improve compatibility, keep the project current with upstream libraries, and streamline example usage for developers.

Dependency and environment upgrades:

  • Updated the primary and secondary Go versions to 1.26.x in .github/env/90-project.env, go.mod, and documentation, ensuring builds and tests use the latest supported Go version. [1] [2] [3]
  • Upgraded core dependencies such as github.com/bsv-blockchain/go-overlay-services to v1.3.0 and github.com/bsv-blockchain/go-wallet-toolbox to v0.178.2, along with numerous indirect dependencies, ensuring compatibility and access to new features and bug fixes. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Build and workflow improvements:

  • Added MAGE_X_BUILD_STRATEGY=skip to the environment to optionally skip unnecessary Mage-X build steps, reducing CI build time and resource usage.

Example and code simplification:

  • Simplified the SHIP example in examples/ship/main.go by removing the custom sample script and outpoint construction, instead focusing on the minimal structure required for the OutputAdmittedByTopic API, making it easier for developers to understand and adapt.

mrz1836 added 7 commits March 20, 2026 14:24
Disabled cache warming to prevent OOM kills on GitHub Actions runners and added a build strategy to skip unnecessary Mage-X steps, reducing build time and resource usage.
Removed unnecessary transaction ID and locking script creation for clarity.
Updated payload structure to reflect production usage.
Updated tests to utilize real PushDrop scripts and BEEF transactions, simplifying the test setup and improving accuracy.
Updated import statements for clarity and added error handling for
BEEF parsing in PushDrop processing. Improved output index validation
to prevent out-of-range errors.
@github-actions github-actions bot added bug-P3 Lowest rated bug, affects nearly none or low-impact chore Simple dependency updates or version bumps dependencies Dependency updates, version bumps, etc. feature Any new significant addition size/XL Very large change (>500 lines) labels Mar 20, 2026
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
32.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@mrz1836 mrz1836 merged commit 7c4da09 into master Mar 20, 2026
43 of 44 checks passed
@github-actions github-actions bot deleted the fix/caching branch March 20, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-P3 Lowest rated bug, affects nearly none or low-impact chore Simple dependency updates or version bumps dependencies Dependency updates, version bumps, etc. feature Any new significant addition size/XL Very large change (>500 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant