Closed warjiang closed 23 hours ago
Oh thanks for bringing this to our attention! I think the docker container is the most popular means of using flagd, but we certainly want the bin install to work as well.
So the main branch is right, but still now the lastet tag for github.com/open-feature/flagd/flagd is wrong
Then seems like a new release will fix this: https://github.com/open-feature/flagd/pull/1341
cc @Kavindu-Dodan
Unfortunately, this is due to the specific go install usage, where flagd module's go.mod file is considered for dependencies. Our image builds use go workspaces, so all submodules of core package (flagd & proxy) use latest core components.
@toddbaert yeah the release will fix this. But we may need to revisit and release core and flagd independently if we wants to promote binary installations 🤔
Hey @warjiang, could you please try again with the latest release?
go install github.com/open-feature/flagd/flagd@latest
sorry late for the reply, with the latest version ,it works on my desktop:
thanks~
Observed behavior
I follow the step in section Go binary , links 👉🏻 https://flagd.dev/installation/#summary
But some errors occured:
Here is the original errors:
Expected Behavior
the flagd binary can be installed in the bin fold for go
Steps to reproduce
execute
go install github.com/open-feature/flagd/flagd@latest
BTW, after diving into the code for the latest tag, which is![image](https://github.com/open-feature/flagd/assets/6478745/cb28f044-4c6d-4c72-b519-325585cf03c0)
flagd@v0.11.0
the![image](https://github.com/open-feature/flagd/assets/6478745/ad870929-4fad-4d97-b4df-7381ef954f37)
flagd
useofrep.BulkEvaluationContextError()
incore
pkgBut the![image](https://github.com/open-feature/flagd/assets/6478745/c9c01ebe-54dd-4f8b-bc25-894bac097ff3)
core
pkg doesn't containsofrep.BulkEvaluationContextError()
for versioncore/v0.9.3
ofrep.BulkEvaluationContextError()
doesn't occurs in core pkg until forcore/v0.10.0
So the main branch is right, but still now the lastet tag for
github.com/open-feature/flagd/flagd
is wrong