Add PLAN.md and TEST.md

PLAN.md lists what's left after the sibling projects menu: a real-session
test, logs for sibling updates started from the menu, and automated tests.
TEST.md has the manual checks for a real GNOME session: sibling projects,
updates and restarts, and refresh, configure and version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-28 12:39:36 -07:00
co-authored by Claude Opus 5.5
parent 9e514eb9ed
commit 9a9c2d7955
2 changed files with 116 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
# Plan
What's left to do in the CoreDesktop GNOME extension. Delete an item once it's
done; git history keeps the record. Checks that need a real GNOME session are
in `TEST.md`.
## Sibling projects
Done in 9e514eb (released as 1.0.r3.g9e514eb): the **Sibling projects** menu
item and dialog, from `sibling check --porcelain`, with **Update** and
**Update all** running `sibling update` in a terminal. A newer sibling counts
as an update for the **Update** pill, the header and the dot. So far it has
only been tried in a headless GNOME Shell 51 with a stub `sibling`.
- [ ] Run the "Sibling projects" part of `TEST.md` on a real session, with
real siblings and a network, on GNOME 48 and 51 at least
- [ ] A sibling update started from the menu writes no log, so when one fails
its notification can't offer **Open log** or **Report problem**. Have
`bin/run-tracked` save the output in `~/.local/state/coredesktop/logs`
for these, or have `sibling update` write its own log the way `update`
does
- [ ] Siblings update one run at a time, like update and refresh (see
`changesSystem` in `extension.js`). Decide whether two different
siblings may update at once
## Testing
- [ ] The extension's only automated check is `make lint`. Add gjs tests for
what doesn't need a shell: parsing `sibling check --porcelain`
(`Cli.checkSiblings`, including `, modified` and `?`) and
`configure --list`, run against stub commands in a temporary `HOME`
- [ ] Script the headless shell run from the README into `make smoke`: start
it with stub commands, open the menu and each dialog from a probe
extension, screenshot them, and fail on any `JS ERROR`