CLI tests: add an opt in Linux Wayland clipboard smoke test
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
Research direction
Start by reading the existing CLI clipboard tests and Linux CI setup, then trace the existing clipboard helper and its expiry behavior. Add an explicitly opt-in native Wayland smoke-test path with isolated cleanup, and verify the READY signal, sentinel text, expiry, replacement behavior, and documented runner requirements without changing the normal headless suite.
Written by the indexing model from the issue text.
Description
The problem
PR #313 enables arboard's native Wayland data control backend, but the automated tests still use a fake clipboard. A Wayland session or backend change could break get --copy or the helper lifecycle without being detected.
The test must run against a native Wayland compositor and must not silently fall back to X11. It must use an isolated session so contributor clipboard contents are never touched.
Proposed approach
Add an opt in Linux Wayland smoke test for the existing clipboard helper. Run it with a disposable compositor and a shortened, injectable expiry so the test is fast and repeatable.
Acceptance criteria
- The test is skipped unless an explicit smoke test flag or environment variable is set.
- The runner starts a native Wayland session with the data control protocol enabled and no X11 fallback.
- The test confirms the parent receives
READYpromptly and the clipboard contains the exact sentinel text. - Unchanged text is cleared after the shortened expiry, while replacement text is preserved.
- The test cleans up the compositor and helper process after success or failure.
- The opt in command and required runner packages are documented, while the normal headless suite remains unchanged.
Where this lives
CLI clipboard tests and Linux CI setup.
- Dominant language
- Rust
- Stars
- 31
- Forks
- 42
- Avg merge
- 3d 21m
- Merged PRs (30d)
- 147
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsotto/sotto
-
Backups are staleOpenbackup-alert
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Web: show when a pending email verification request expiresPossibly taken @manosm19-netizen claimed this today. Openenhancement good first issue help wanted
Difficulty 2/5 Half a day Newbie friendliness 72/100
getsotto/sotto#827 · 1 comment ·
Maintainers usually reply within 1 day
-
TUI tests: verify binary secret edit rejection preserves stored bytesPossibly taken @dbdefault claimed this today. Opengood first issue help wanted test-coverage
Difficulty 2/5 3-5 days Newbie friendliness 62/100
getsotto/sotto#825 · 2 comments ·
Maintainers usually reply within 1 day
-
Docs: explain listing secret names and the ls JSON outputPossibly taken @Mohamedajab claimed this today. Opendocumentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
area:ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openfootmanager/openfootmanager#1365 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
JackMechem/marbble#305 ·
Maintainers usually reply within 1 day