Remove the staging zone id mapping for NWAC weather at launch

Aperta
#1,483 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@rchlfryn ci sta già lavorando.

Dal 4/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

#1482 adds a temporary mapping so East Slopes Central's weather matches on nwac.us while NAC_V3_HOST points at staging. Production v2 calls the zone 3030 and staging's weather carries 2170. Only that zone is mapped, so other zones show no weather on their pages until production has its own. Once NAC_V3_HOST is unset, the mapping does nothing and should go.

The cache change that was first on that branch was reverted there, so there's nothing to undo for it.

When: at NWAC Weather launch, after prod reads weather from api.avalanche.org.

To do:

  • Remove NAC_V3_HOST from the production Vercel deployment and redeploy
  • Confirm a zone page shows weather published to production
  • Delete src/services/nac/sources/v3/stagingZoneIds.ts and __tests__/server/nwacWeatherStagingZoneIds.server.test.ts
  • In src/services/nac/sources/v3/nwacWeatherMappers.ts, go back to z.avalancheZoneId ?? null and p.avalancheZoneId ?? null
  • Remove the "NAC_V3_HOST on staging with production v2 is temporary" note from docs/afp-products/architecture.md
Lingua principale
TypeScript
Stelle
6
Fork
2
Merge medio
1g 11h
PR unite (30g)
35

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 NWACus/web

Tutte le issue di NWACus/web

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.