Go check for IsWorkerCompatibleBinary is wrong
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Per BEAM-5253, The linux/amd64 check in IsWorkerCompatibleBinary is insufficient:
https://github.com/apache/beam/blob/609a42978405173a60e5d91f35170a5c0b5d5332/sdks/go/pkg/beam/runners/universal/runnerlib/compile.go#L37
We need to see if we can do a better check here (such as looking up the symbol table or similar) or disable this optimization.
Imported from Jira [BEAM-5357](https://issues.apache.org/jira/browse/BEAM-5357). Original Jira may contain additional context.
Reported by: herohde.
Contributor guide
Research direction
Start with sdks/go/pkg/beam/runners/universal/runnerlib/compile.go at the linux/amd64 check referenced in the issue, then read BEAM-5253 and the linked Jira context. Determine how the current compatibility optimization fails and whether a symbol-table check or disabling the optimization is appropriate. Done means the check no longer incorrectly accepts an incompatible binary.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- backend, build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100