Sync the fix-agent branch onto origin/main in a pre-script wrapper
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Read the wrapper files introduced by PR #532 and the pinned upstream scripts/pre-fix.sh, along with the Fullsend v0.56.1 harness configuration. Trace how the existing pre-script delegates and how the post-script handles pushes; check the behavior for stale branches and conflicting rebases. Done means a live /fs-fix run meets all four validation criteria, including stopping on conflict without force-pushing; this needs a trusted runner and a human decision.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened
Agents bring their own branch up to date, and they do it wrong.
- PR #523: the agent ran a sync that placed copies of
maincommits on top of the pull request commits. The three-dot diff grew from one file to 28 files and +3227/-1924 lines. The copiedfix:commits then inflated the iteration counter. - PR #496: the branch lagged
mainby 73 commits. Review runs crashed on the removedcreate_issuesconfiguration key before the review agent started. The stale base also caused falseartifact.operation_missingfailures.
An agent cannot read main reliably, because the sandbox has no github.com egress.
Proposed change
Add a repository pre-script for the fix harness:
- Run the pinned upstream
scripts/pre-fix.shunchanged. - Run
git fetch origin main. - Rebase the workspace onto
origin/main. - Push the result, or leave the push to the existing post-script.
Fullsend v0.56.1 allows one pre_script per harness. A local override replaces the base value, so the wrapper must delegate to the upstream script. PR #532 already uses this wrapper pattern for the cache bootstrap. Extend those files instead of adding a second pre-script.
Why a human must decide
- The pre-script runs on the trusted runner and receives
PUSH_TOKEN. It can rewrite the pull request branch. - A rebase can produce conflicts that need a resolution policy.
- The behaviour cannot be verified in the sandbox. It needs one live
/fs-fixrun on a stale branch.
Validation criteria
- One live
/fs-fixrun on a branch that is behindmainstarts from a rebased workspace, and the pull request diff contains only the pull request files. - No merge commit authored by
fullsend-fixappears on the branch. - The upstream pre-script still parses
/fs-fixinstructions and enforces the caps. - A conflicting rebase stops the run with a clear message and does not force-push.
Related issues
- Blocked by #524. PR #532 introduces the wrapper files this change extends.
(AI generated)
- Lingua principale
- Go
- Stelle
- 7
- Fork
- 9
- Merge medio
- 22h 37m
- PR unite (30g)
- 118
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di redhat-et/ProtoBot
-
bug component:validator triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
redhat-et/ProtoBot#596 · 5 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
documentation triaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
redhat-et/ProtoBot#589 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
documentation risk/low triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
redhat-et/ProtoBot#588 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
feature infra needs-human risk/low triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
redhat-et/ProtoBot#579 · 6 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
blocked documentation infra risk/low triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
redhat-et/ProtoBot#552 · 6 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di redhat-et/ProtoBot
Issue simili
-
release
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
github/gh-aw-mcpg#17603 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tinygo-org/tinygo#6727 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
oras-project/oras-go#1827 ·
I maintainer di solito rispondono entro 1 giorno
-
docs: database/sql Sessions example never commits its batch, and its "Full Example" link is a 404Apertadocumentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
ClickHouse/clickhouse-go#2185 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs triage receiver/podman
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
open-telemetry/opentelemetry-collector-contrib#53700 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno