GRI-1885: write the MVP smoke-test checklist and script #117
No reviewers
Labels
No labels
Area/Backend
Area/Database
Area/Docs
Area/Frontend
Area/Infra
Area/Security
Area/Tests
Area/Tooling
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Lang/Python
Lang/Rust
Lang/Shell
Lang/SQL
Lang/TypeScript
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Routing
Auto
Routing
Hold
Routing
Human
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage!117
Loading…
Reference in a new issue
No description provided.
Delete branch "test/GRI-1885-mvp-smoke-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Forge #115, GRI-1885: write the MVP smoke-test checklist and script now,
run it once #113 and #114 land (per the comment on the issue).
docs/mvp-smoke-test.md— the 5-step checklist from the forge issue, eachstep with the exact commands/API calls and what to confirm. Every payload
shape is cross-checked against the current handler code, not guessed.
scripts/mvp-smoke-test.sh— automates everything in the checklist thatdoes not need a human eye on a browser: builds and starts the packaged
server (Docker Compose, the way
packaging/server/README.mddescribesit), creates the first user and logs in by API, builds and runs the real
grimoirix-signage-client(thegtk-rendererfeature) underXvfb,waits for it to go pending then accepted, generates one small real
.mp4on the spot with
gst-launch-1.0(no network fetch, nothing checked intothe repo) plus a test image, uploads both, builds and assigns a playlist,
and confirms both playback and a live playlist change from the client's
own log.
Found while writing this
dockergroup membership —only
vivyandfjrunnerdo. The script's preflight check catches thiswith a clear message instead of a confusing Docker error partway through.
dev: the REST API(setup, session, devices, media, playlists) and the real client
(enrolment, cache, playback,
WebSocketsync) all exist today. Only#113 (panel still mocked) and #114 (server doesn't serve the panel) are
missing, so steps 1, 3, 4 and 5 of the checklist do not depend on either
and only step 2's browser half does.
Test plan
scripts/local-gates.shpasses on this branch (exit 0, full run).jq/curlpayload in the script matches the request structsin
crates/server/src/{auth,devices,media,playlists}/handlers.rs.convert) and video (gst-launch-1.0) generationcommands were run by hand on this host and produce a real PNG and a
real playable
.mp4.on
dockeraccess for an agent account (see above). Tracked as thenext action on GRI-1885/forge #115, not fixed in this PR.