Skip to content

test: the shipped layout opens on three full plots - #5

Merged
mysma-9403 merged 1 commit into
mainfrom
test/the-shipped-layout
Oct 11, 2026
Merged

mysma-9403 merged 1 commit into
mainfrom
test/the-shipped-layout

Conversation

@mysma-9403

Copy link
Copy Markdown
Contributor

The README and the v0.1.0 notes both promise that xtce-gs replay … --repeat opens on GPS
position, velocity and the attitude quaternion. Nothing checked it, and the way it would fail
is silent.

A layout resolves parameters by qualified name, and a name the definition does not declare is
dropped with a note, not an error — a station that refused to start over a stale layout
would be unusable exactly once per mission. So a typo in the shipped file leaves a visitor
looking at the empty window the file exists to prevent, and the only sign is one line in the
event log nobody reads on first contact.

The test restores the layout before the first packet arrives — the order App::new uses,
because a parameter's history begins when it is watched — then asserts all ten plotted
parameters hold 7 200 points once the recording is decoded. It also asserts note == None,
so a layout that loads but drops half of itself fails here rather than looking fine.

532 tests, fmt and clippy clean.

The README and the v0.1.0 notes both promise that the replay opens on GPS
position, velocity and the attitude quaternion. Nothing checked it, and the way
it would fail is silent: a layout resolves parameters by qualified name, and a
name the definition does not declare is dropped with a note rather than an
error, because a station that refused to start over a stale layout would be
unusable exactly once per mission.

So a typo in the shipped file leaves a visitor looking at the empty window the
file exists to prevent, and the only sign is a line in the event log.

The test restores the layout before the first packet — the order App::new uses,
since a parameter's history begins when it is watched — and then asserts all ten
plotted parameters hold 7200 points once the recording is decoded.
@mysma-9403
mysma-9403 merged commit 945a4b0 into main Oct 11, 2026
1 check passed
@mysma-9403
mysma-9403 deleted the test/the-shipped-layout branch October 11, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant