-
Notifications
You must be signed in to change notification settings - Fork 48
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
The process of upgrading the flow-go
package has become more complicated
#748
Comments
I dont think v0.37 will be needed anymore as mainnet migrated to Cadence 1.0 Though personally, I am not so happy with this circular dependency situation too. ( in year 2024 ) maybe someone better than me at go can have some better ideas for this process ( cc: @turbolent ) |
One simple solution to the current issue (it wont make the previous process any better), is to just always track We could also use a similar branching strategy that flow-go uses, where master tracks master and some release branch track the current live branch from flow-go. |
This circular dependency between the repositories has been a problem since the very start, and so far nobody has come up with any suggestions to improve it. I also don't like how cumbersome it is, but unfortunately also don't have any ideas on how to improve it. The process is already cumbersome for core contributors who have push access, but is even worse for external contributors submitting contributions from a fork (need to using go mod replace statements). Have we discussed just giving push access to contributors to at least make the process a bit easier for them? I'm not sure when or why this changed, mostly because I'm not keeping up with all changes in the tooling repos, but we used to track flow-go |
I opened #751 to switch it over to master. we'll start there. I'm also in favor of granting @Guitarheroua push access. I'll look into making that happen |
I think embedded a bit stripped down emulator to flow-go is the best option, I made a poc here: https://github.com/bluesign/flow-go/tree/withoutEmulator |
closing this as onflow/flow-go#6594 is merged |
Defenition
The process of upgrading the
flow-go
package, especially for Access Node changes, has become more complicated after recent updates. It would be beneficial to establish a procedure or solution to make the process more intuitive and understandable.Problem
Currently,
flow-emulator
usesflow-go
version0.37.10
. Our team is working on a fork of theflow-go
project. When a PR is created with changes to the Access API or related components that affect theflow-emulator
, temporary replacements must be made in bothflow-go
andflow-emulator
due to circular dependencies between these repositories (flow-go
integration tests depend onflow-emulator
, andflow-emulator
depends onflow-go
).Previously, the process was as follows:
flow-emulator
pointing to theflow-go
branch that contains the changes.flow-go
pointing to theflow-emulator
branch that contains changes.flow-emulator
changes with the replacement to themaster
branch.flow-go
pointing to the mergedflow-emulator
onmaster
.flow-go
branch is merged, create another PR to remove the replacement inflow-emulator
.However, this process has now become even more complicated. It seems we need to follow the same pattern for the
v.0.37
branch and then merge changes fromv.0.37
tomaster
, but I am not sure if this is correct.We need to define a proper process for merging in such cases or find a solution to handle the circular dependencies because merging even small changes to the
flow-emulator
is currently very cumbersome.The text was updated successfully, but these errors were encountered: