← Back to issue list

Switch from external tmate to the Canonical tmate action

View original Github issue

Metadata

Project
craft-providers
Number
#873
Type
issue
State
open
Author
lengau
Labels
Type: Refactor Status: Triaged
Created
Updated
Closed
—

Current evaluation

Triaged refactor: replace mxschmitt/action-tmate@v3 with canonical/action-tmate in 3 workflow steps (check-renovate.yaml; tests-weekly.yaml x2). Still unmodified at HEAD; prerequisite for self-hosted runners.

Suggested action: keep open

Reason: Valid, maintainer-authored (lengau) task labelled 'Type: Refactor' and 'Status: Triaged', so it is categorised and should stay open. grep at the pinned HEAD confirms all three `mxschmitt/action-tmate@v3` references remain in `.github/workflows/check-renovate.yaml:30` and `.github/workflows/tests-weekly.yaml:72,104`, and a pickaxe search for 'action-tmate' surfaced only pre-migration commits (e.g. 1b046c0 'chore: prepare for starbase merge (#786)'), with no commit implementing the switch — so it is not already resolved. Scope is narrow (3 step edits behind an `inputs.enable_ssh_access` guard), giving high actionability; the only open judgment call is whether to pin `canonical/action-tmate` to a commit SHA or `@main`, since this repo mixes both conventions (e.g. `canonical/starflow/setup-python-runner@main` vs `@4a0be730...` on line 42). Impact is moderate infrastructure-only work that unblocks the broader self-hosted runner goal rather than a user-facing defect.

Evaluated by: mr-cal-bot

Impact: 42 Quick Win: 33 Complexity: 10 Confidence: 87 Actionability: 86

Issue body

### What needs to get done Where workflows use tmate, we should use the Canonical fork: https://github.com/canonical/action-tmate ### Why it needs to get done Prerequisite for using self-hosted runners

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 42
Quick Win: 33
Complexity: 10
Confidence: 87
Actionability: 86
keep open Triaged refactor: replace mxschmitt/action-tmate@v3 with canonical/action-tmate in 3 workflow steps (check-renovate.yaml; tests-weekly.yaml x2). Still unmodified at HEAD; prerequisite for self-hosted runners.
stealth/space-bunny-alpha
Impact: 30
Quick Win: 23
Complexity: 12
Confidence: 87
Actionability: 88
keep open Maintainer-triaged refactor: replace mxschmitt/action-tmate@v3 with Canonical's action-tmate fork in craft-providers workflows, a prerequisite for adopting self-hosted runners. Still open;3 usages remain.
stealth/space-bunny-alpha
Impact: 30
Quick Win: 22
Complexity: 10
Confidence: 82
Actionability: 80
keep open Maintainer-opened refactor: replace mxschmitt/action-tmate@v3 with canonical/action-tmate in 3 workflow steps as a prerequisite for self-hosted runners. Still open; only a Jira sync bot comment.
stealth/space-bunny-alpha
Impact: 48
Quick Win: 37
Complexity: 12
Confidence: 87
Actionability: 88
keep open Maintainer-triaged refactor to replace external tmate workflow usage with Canonical's action-tmate before enabling self-hosted runners; the issue remains open.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 40
Staleness: 70
Complexity: 20
Confidence: 75
Support Request: 0
keep open Refactor workflow files to use canonical/action-tmate instead of mxschmitt/action-tmate. Triaged, 266 days inactive.
qwen/qwen3.6-35b-a3b
Staleness: 65
Complexity: 10
Confidence: 90
Support Request: 0
close stale Refactor to replace external tmate action with Canonical's official fork to enable self-hosted runners. Triaged by maintainer but inactive for over 7 months with no progress or assignee.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 15
Confidence: 85
Support Request: 0
keep open Refactor to replace external tmate usage with Canonical's action-tmate. Triaged by a maintainer but inactive for 212 days. Awaiting implementation.

Update history

No update history recorded yet.

Related work

  • Related To: craft-providers#311 (confidence 55%)

    Earlier issue proposing adding mxschmitt/action-tmate for SSH debugging; the references #873 seeks to replace were introduced by that work (cf. commit e2c8fda 'ci: add permanent ssh access to github runners (#313)').

Related issues

Issue Project State Summary Similarity
#311 Add `mxschmitt/action-tmate` to workflow craft-providers closed Closed after 10 days of inactivity with no comments or linked implementation; action-tmate was later added to Renovate and weekly-test workflows.
73%