CI/Release Workflows: Fix validation bypass and wasm-tools version mismatch

Aperta
#965 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust, wasm

Direzione di ricerca

Read .github/workflows/publish.yml and .github/actions/install-tools/action.yml to compare the wasm-tools versions. Then inspect the CI workflow's dorny/paths-filter conditions and .github/scripts/validate-proposals.js, which reads docs/ComponentModelFeatures.md. Done means the tool versions are consistent and validation runs for changes to the scripts or feature document; the issue does not name tests to run.

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

Descrizione

wasm-tools Version Mismatch (publish.yml vs install-tools/action.yml)
Issue: There is a discrepancy in the wasm-tools version used across different jobs, which can break tooling dependent on newer Component Model features (like cm-map and cm-implements introduced in WASI 0.3.1).
Cause: The upload-wit-tarball job inside .github/workflows/publish.yml installs [email protected]. Meanwhile, .github/actions/install-tools/action.yml installs [email protected].
Impact: Version 1.214.0 is outdated and lacks support for recent Component Model features. This mismatch risks publishing failures or improper validation.

Issue: The CI workflow silently skips validation when changes are made to .github/scripts/** or docs/ComponentModelFeatures.md.
Cause: The workflow is correctly configured to trigger on changes to .github/scripts/** and .github/workflows/ci.yml. However, the dorny/paths-filter step only matches proposals/*/wit/**. Because the "Install tools" and "Validate changed proposals" steps are conditionally bound to if: steps.changes.outputs.wit == 'true', a PR that only modifies the validation scripts or the ComponentModelFeatures.md file (which is read by validate-proposals.js to check GATE_FEATURES) will never actually run the validation.

Lingua principale
Rust
Stelle
5.8k
Fork
339
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 WebAssembly/WASI

Tutte le issue di WebAssembly/WASI

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.