[tauri] TauriPlatforms: Bring main (the sunrise, Coyhaique) into the branch
# Conflicts: # .agents/GAP_ANALYSIS.md # .agents/lessons/README.md # .agents/lessons/technical.md
This commit is contained in:
@@ -84,6 +84,20 @@ that was imagined, not the one that was built.
|
||||
**How to apply it.** Before acting on a predicted trap, write the test that would show it, run it
|
||||
against the built app, and fix what fails. Then rewrite the trap's row with what was measured.
|
||||
|
||||
## Data built against a runtime's time zones goes stale when the runtime changes
|
||||
|
||||
**What happened.** On 2026-11-17 Node went from 22.11 to 22.23.4 and a test found a time zone
|
||||
(America/Coyhaique) with no town guess. Rebuilding the town list then showed far worse: Santiago had
|
||||
sat on a southern zone's clock since the first build, because Natural Earth files it under
|
||||
America/Sao_Paulo and the build trusted any zone whose clock matched one of the country's own.
|
||||
|
||||
**Why it bit.** A build step that consults `Intl` bakes the runtime's time zone data into a file. An
|
||||
upgrade changes the answers silently; only a test that asks *every* zone notices, and then the whole
|
||||
derivation deserves a second look, not just the one zone.
|
||||
|
||||
**How to apply it.** After a Node upgrade, run the content tests first. When generated data changes,
|
||||
diff it item by item (here: every town whose zone moved) and explain each change in the review.
|
||||
|
||||
## A generated project is newer than anything you made before it
|
||||
|
||||
**What happened.** The first Android APK (2026-11-17) carried Tauri's logo. `scripts/icons.ts` copied
|
||||
|
||||
Reference in New Issue
Block a user