Skip to content

Invoke the DEV retention SSH transport and test the workflow runner - #831

Merged
TThanos3000 merged 1 commit into
devfrom
fix/dev-image-retention-transport-20261025
Oct 25, 2026
Merged

TThanos3000 merged 1 commit into
devfrom
fix/dev-image-retention-transport-20261025

Conversation

@TThanos3000

Copy link
Copy Markdown
Collaborator

The retention workflow imported the verified SSH module, whose CLI entry point is guarded by require.main, so importing it alone did not execute the read-only plan. Invoke its exported deploy function explicitly and propagate transport errors to the job result.

Four Node tests execute the actual workflow JavaScript with a stub transport: a real invocation with credentials kept outside the remote script, the exact apply digest, rejected mode/shell input, and failing the job on remote failure. Run these tests in the retention workflow before SSH. All four pass locally; YAML/JavaScript syntax and diff checks pass. No cleanup was performed by the earlier no-op job; image retention rules and application code are unchanged.

@TThanos3000
TThanos3000 merged commit 587a915 into dev Oct 25, 2026
3 checks passed
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