Skip to content

test: cover drift-comment permissions and promote selective/force emission#370

Open
joshua-temple wants to merge 1 commit into
mainfrom
test/close-coverage-gaps
Open

test: cover drift-comment permissions and promote selective/force emission#370
joshua-temple wants to merge 1 commit into
mainfrom
test/close-coverage-gaps

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Closes the literal coverage gaps behind #317 and #326 and the unasserted promote emissions in #325. Adds (1) an e2e assertion in 28-drift-check that the generated drift-comment workflow carries permissions: {}, and (2) a generator unit test asserting promote threads the --deploys filter and the --force flag into the emitted workflow. The CLI deploys filter and the #325 runtime side-effects were already covered hermetically. go build/test/lint clean.

…ssion

Closes the literal coverage gaps in #317, #326, and the unasserted promote emissions in #325. Adds an e2e assertion that the generated drift-comment workflow carries permissions {} (least privilege), and a generator unit test asserting promote threads the deploys filter and the force flag through to the workflow. The CLI deploys filter and the #325 runtime side-effects were already covered at unit or act-plus-gitea; live remains the documented ceiling.

Signed-off-by: Joshua Temple <[email protected]>
@joshua-temple joshua-temple force-pushed the test/close-coverage-gaps branch from efe1e26 to 65535ac Compare June 27, 2026 14:53
@joshua-temple joshua-temple added the test Adding or correcting tests label Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Adding or correcting tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant