task: verify release-process script names and flags against celo-monorepo instead of hand-copying them

Aperta
#2,310 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

@whatsgood200 ci sta già lavorando.

Dal 21/11/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, shell

Direzione di ricerca

Inizia da contribute-to-celo/release-process/smart-contracts.mdx, quindi esamina il workflow esistente per il controllo dei link e le sorgenti di release in celo-monorepo/packages/protocol/package.json e release/.sh. Costruisci il controllo basandoti sui nomi yarn release: e sui flag getopts della pagina, e verifica che fallisca con un nome o un flag deliberatamente errato, registrando il responsabile e la cadenza.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

chore documentation priority:medium size:S
What needs to be done?

contribute-to-celo/release-process/smart-contracts.mdx hand-copies yarn release:* script names and their flags from celo-monorepo/packages/protocol, and nothing checks that they still exist. #2295 found four names on the page that no longer resolve (release:verify-deployed, release:make, release:check-versions, release:verify-release); packages/protocol/package.json on master defines only release:check-versions, release:check-versions:foundry, release:make:foundry, release:verify-deployed:foundry, release:check-opcodes and release:determine-release-version. The names went stale silently because the page has no link to the source of truth that would have been checked, and no test.

#2295 fixes the names and links RELEASE_PROCESS_FOUNDRY.md, which gives the page an anchor but not a test. This issue is the test.

Impact: a release engineer following the page runs a command that fails with "command not found" at best. One surviving name, release:check-versions, is worse: it still exists in package.json but calls a build_tag function that release-lib.sh no longer defines, so it passes a grep and dies before compiling. Wrong data on a page that drives a mainnet governance proposal.

Suggested fix, pick one:

  1. A CI check that extracts every yarn release:<name> and getopts flag from the page's code blocks and verifies them against packages/protocol/package.json and the release/*.sh getopts strings at celo-monorepo master. A small script under scripts/, run in the existing link-check workflow, failing on any name or flag that does not resolve.
  2. If a cross-repo check is too heavy, a recurring task (quarterly, matching the release cadence) that re-verifies the page against upstream, with the check commands recorded on the page in an HTML comment so the next person runs the same thing.

Non-goal: rewriting the release process itself. Depends on #2295 merging first so the check starts from a green page.

Refs #2295.

Definition of done
  • Every yarn release:* name on the page is verified against upstream by a script or a recorded recurring check
  • The check fails (or the task flags) when a name or flag on the page no longer exists upstream; proven once by breaking a name locally
  • Owner and cadence recorded on the page or in the workflow
Priority

medium

Size

S — hours

Lingua principale
MDX
Stelle
90
Fork
398
Merge medio
4g 22h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di celo-org/docs

Tutte le issue di celo-org/docs

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.