-
Notifications
You must be signed in to change notification settings - Fork 267
fix(build): go-generate-fast, run-status-backend #7266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
* c78009bcfa9e does not exist * original repo has been updated, no need in replace
* needed to find libsds.h header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR addresses two build-related issues: removing a dependency override for go-generate-fast after the upstream repository was updated, and fixing the make run-status-backend command to properly include the nim-sds library dependencies.
- Removes the
replacedirective forgo-generate-fastto use the upstream v0.3.0 release - Adds
$(LIBSDS)dependency and CGO flags to therun-status-backendtarget to resolve library linking errors
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| go.mod | Removes the replace directive that pointed to a non-existent commit in status-im's fork, allowing use of upstream v0.3.0 |
| go.sum | Updates checksums to reflect the switch from status-im's fork to the upstream oNaiPs/go-generate-fast v0.3.0 |
| Makefile | Adds $(LIBSDS) as a dependency and passes CGO_CFLAGS and CGO_LDFLAGS to ensure nim-sds library is properly linked when running status-backend |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Jenkins Builds
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7266 +/- ##
===========================================
- Coverage 60.49% 60.40% -0.09%
===========================================
Files 815 815
Lines 113163 113163
===========================================
- Hits 68454 68357 -97
- Misses 37661 37747 +86
- Partials 7048 7059 +11
Flags with carried forward coverage won't be shown. Click here to find out more. |
Remove
replace go-generate-fastfrom go.modThe upstream repo
github.com/oNaiPs/go-generate-fasthas been updated. Non-existent commit causedgo mod tidyto failFix
make run-status-backendfailing withlibsds.hnot found errorAdded
$(LIBSDS)to nim-sds library cmdline when missing. PassCGO_CFLAGSandCGO_LDFLAGS