fix(autopatch): Rewrote config.yaml to remove obsolete actions. The c10s spec was already updated upstream to include '%if %{race}' wrap #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "agent-fix/a10s-20260519-014503"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Automated fix by autopatch agent.
Summary: Rewrote config.yaml to remove obsolete actions. The c10s spec was already updated upstream to include '%if %{race}' wrappers and changed 'GOAMD64=v3' to 'GOAMD64=v1' for the amd64v1 tsan build, and replaced 'export GOAMD64=v3' with 'export GOAMD64=%{goamd64}'. Removed all obsolete actions that tried to add '%if %{race}' wrappers and dropped the 'export GOAMD64=v3' replacement. Updated CFLAGS GOAMD64 action from count:2 to count:1 (only one GOAMD64=v3 occurrence remains). Adapted from reference a10 branch config.
Root cause
The upstream c10s spec was significantly refactored: (1) '%global race 1' with riscv64 disable is now at the top of the spec, (2) the entire tsan/race build block is wrapped in '%if %{race}/%endif', (3) the second buildgo.sh call changed from GOAMD64=v3 to GOAMD64=v1 (for the amd64v1 binary), (4) all 'export GOAMD64=v3' lines replaced by 'export GOAMD64=%{goamd64}'. The old a10s config was trying to apply these changes as autopatch actions, but they were already present in the spec. The only remaining GOAMD64 action needed is to conditionalize the amd64v3 tsan buildgo.sh call for x86_64_v2 hosts, plus the go.env sed before %build.
Original error
Type:
ActionNotAppliedErrorPackage:
golang| Webhook branch:c10sRewrote config.yaml to remove obsolete actions. The c10s spec was already updated upstream to include '%if %{race}' wrappers and changed 'GOAMD64=v3' to 'GOAMD64=v1' for the amd64v1 tsan build, and re