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

decision: dev-build oracle coverage (ADR 0022 addendum)

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
build-system

Direzione di ricerca

Start by reading build-train.ts around line 296 and ADR 0022, then survey oracle usage across bos build, bos deploy, and regression stacks. Compare hashing cost with rebuild cost and assess the false-fresh risk for targets. Done means recording the decision and rationale in an ADR 0022 addendum, with a follow-up ticket if implementation is warranted.

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

Descrizione

needs-triage

Decision to make

The content-hash staleness oracle (#430) is deploy-only — build-train.ts:296 passes it only when input.deploy. Non-deploy bos build prerequisites use the mtime oracle, and target builds themselves always run unconditionally — only prerequisites get a freshness judgement at all.

Decide (and record as an ADR 0022 addendum):

  1. Should the content-hash oracle extend to non-deploy builds? (Dev builds pay a full tree hash per run today; the mtime oracle misses content edits with fresh mtimes, e.g. checkouts.)
  2. Should target builds be skip-if-fresh? (Currently a bos build ui always rebuilds ui even when nothing in its closure changed.) A --frozen-style flag or config default could opt into skip-if-fresh targets.
  3. If always-build-targets stays policy, say so explicitly and note why (e.g. bundlers' own caches make target rebuilds cheap, and false-fresh targets are worse than false-stale prerequisites).

Scope: research + decision + ADR addendum only — no code. The implementation becomes a follow-up ticket once the decision lands.

Blocked by

Nothing — independent.

Status

  • Survey current oracle usage across bos build / bos deploy / regression stacks
  • Trade-offs written up (cost of hashing vs rebuild; false-fresh risk for targets)
  • ADR 0022 addendum recorded with the decision
  • Follow-up ticket created if implementation is warranted
Lingua principale
TypeScript
Stelle
5
Fork
3
Merge medio
11h 8m
PR unite (30g)
90

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 NEARBuilders/everything-dev

Tutte le issue di NEARBuilders/everything-dev

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.