Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Delete the one-release unscoped workflow recorder/handler fallbacks from #567

Chiusa
#572 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
52/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php, wordpress

Direzione di ricerca

Confirm that Automattic/intelligence#1082 has merged and deployed, then locate the two source comments marked "Delete this fallback" and read the surrounding workflow dispatch code. Review the scoped-seams smoke test and related docs before removing the fallbacks and legacy helper. Done means both fallbacks and register_workflow_handler() are gone, with the docs and smoke test updated.

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

Descrizione

Follow-up to #567 / #568. v0.12.1 kept two one-release fallbacks so existing consumers kept working:

  1. The zero-argument wp_agent_workflow_run_recorder contract. An unscoped hook still claims every run on the site.
  2. wp_agent_workflow_handler first-callable-wins dispatch in agents_run_workflow_dispatch(), used when no runtime-scoped handler matches.

Both are marked in source with "Delete this fallback".

Consumers on the Extra Chill network

  • Data Machine is migrated (Extra-Chill/data-machine#3557; runtime key datamachine, no legacy hooks).
  • Intelligence is migrating in Automattic/intelligence#1082 (runtime key intelligence). It keeps its own ''-runtime claim for one release so runs suspended before the change can still finish.

Do this once

  • Automattic/intelligence#1082 has merged and deployed, and
  • one agents-api release has shipped with the fallbacks present (done: v0.12.1).

Then delete both fallbacks, remove register_workflow_handler() (the legacy helper), and update the docs and the scoped-seams smoke test.

Filed by Extra Chill Bot on behalf of @chubes.

Lingua principale
PHP
Stelle
33
Fork
8
Merge medio
25m
PR unite (30g)
20

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 Automattic/agents-api

Tutte le issue di Automattic/agents-api

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.