Skip to content

Check kept draft commands when the shortcut bar trims their hints - #1408

Merged
max-sixty merged 1 commit into
mainfrom
fix/ci-36463573645
Sep 28, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/ci-36463573645

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The failed nightly run reports two draft tests expecting “your draft” to be visible in the Go-to shortcut bar. Since #1404 keeps that bar to one row, a live destination can remain in the command register while its hint is trimmed. Both tests reproduce that case locally. They now check whether the draft command is registered when a draft exists, then still press g D and verify that it reopens the saved text or image. The first test also checks that the command is absent before a draft exists.

Verification: the two tests failed before this edit and passed after it; both passed 18 concurrent copies each, and the full tests/test_render_drafts.py file passed (83 tests). The pull request CI will run the broader gate.

@max-sixty
max-sixty merged commit 35b4166 into main Sep 28, 2026
4 checks passed
@max-sixty
max-sixty deleted the fix/ci-36463573645 branch September 28, 2026 21:55
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.

2 participants