Commit 2797e2b68d
2797e2b68d780152a552ab6f2e57c9f1275832f1
parent: d00369687e
Unsigned
cmc <hello@cleberg.net> · 2026-10-21 23:35 UTC
Live: Artemis II as a past event for replay (!96)
- `server/src/live.ts`: Artemis II (Horizons -1024), launch to splashdown, five phases.
- Test: active at 2026-04-06T23:00Z, inactive after splashdown. 58/58 server tests pass.
- Live Horizons fetch through `fetchTrajectory`: 428 points, 2026-04-02T01:59Z to 2026-04-10T23:29Z, max 413,139 km.
- PLAN.org: item done; splashdown is 11 April UTC.
Needs a Worker deploy to go live.
Layout: unified · split
PLAN.org
+3 −2
| @@ -475,8 +475,9 @@ Sky, System, Sun, Launches, Library core (above). |
| 475 | 475 | - Small text: 9–10 pt Canvas labels in EclipseScreen ignore Dynamic Type; |
| 476 | 476 | 10 pt uppercase at 0.6 opacity in the Pass and Launch Live Activities. |
| 477 | 477 | - App Shortcuts phrases tested on a device. |
| 478 | | - Artemis II (Horizons =-1024=, 1–10 April 2026) in =server/src/live.ts= as |
| 479 | | a past event for replay. |
| 478 | - Artemis II (Horizons =-1024=, 1–11 April 2026) in =server/src/live.ts= as |
| 479 | a past event for replay. Done: Horizons data 2 April 01:59 to 10 April |
| 480 | 23:29 UTC. |
| 480 | 481 | - Performance: Sun tab first open still has frames over 100 ms (SwiftUI and |
| 481 | 482 | Charts start-up); RealityKit's first start (about 1.4 s) when switching to |
| 482 | 483 | 3D, checked on a device; Sun snapshot OVATION grid compressed (156 KB to |
server/src/live.ts
+12
| @@ -26,6 +26,18 @@ export const EVENTS: LiveEvent[] = [ |
| 26 | 26 | { at: "2022-12-11T17:40:00Z", label: "Splashdown" }, |
| 27 | 27 | ], |
| 28 | 28 | }, |
| 29 | { |
| 30 | // Past mission, kept for replay with /v1/live?at=2026-04-06T23:00:00Z. |
| 31 | id: "artemis-2", title: "Artemis II", horizonsId: "-1024", |
| 32 | launch: "2026-04-01T22:35:12Z", end: "2026-04-11T00:07:00Z", |
| 33 | phases: [ |
| 34 | { at: "2026-04-01T22:35:12Z", label: "Launch" }, |
| 35 | { at: "2026-04-02T23:49:00Z", label: "Translunar injection" }, |
| 36 | { at: "2026-04-06T23:01:00Z", label: "Lunar flyby" }, |
| 37 | { at: "2026-04-10T23:53:00Z", label: "Entry interface" }, |
| 38 | { at: "2026-04-11T00:07:00Z", label: "Splashdown" }, |
| 39 | ], |
| 40 | }, |
| 29 | 41 | ]; |
| 30 | 42 | |
| 31 | 43 | export const STEP_MINUTES = 30; |
server/test/live.test.ts
+2
| @@ -5,6 +5,8 @@ import { activeEvent, ephemerisLimit, parseVectors } from "../src/live.ts"; |
| 5 | 5 | test("finds the event covering a time", () => { |
| 6 | 6 | assert.equal(activeEvent(new Date("2022-11-21T12:00:00Z"))?.id, "artemis-1"); |
| 7 | 7 | assert.equal(activeEvent(new Date("2022-12-12T00:00:00Z")), undefined); |
| 8 | assert.equal(activeEvent(new Date("2026-04-06T23:00:00Z"))?.id, "artemis-2"); |
| 9 | assert.equal(activeEvent(new Date("2026-04-11T01:00:00Z")), undefined); |
| 8 | 10 | assert.equal(activeEvent(new Date("2026-10-18T00:00:00Z")), undefined); |
| 9 | 11 | }); |
| 10 | 12 | |