Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Flaky tests are the worst, because they may depend on the execution environment,
- Review the test output from Buildkite or GitHub workflow to try to understand what's actually going on. There may be an earlier error that's reported that causes the actual failure.
- Try to run it manually, perhaps step-debugging and introducing slower execution.
- Try to run it on GitHub Codespaces, which is a more similar environment.
- Try to run it using [tmate](https://github.com/mxschmitt/action-tmate) on the GitHub workflow, which is as close as you can get to the real test environment. (Tmate is built into each of the DDEV test workflows.)
- Try to run it using [upterm](https://github.com/owenthereal/action-upterm) on the GitHub workflow, which is as close as you can get to the real test environment. (Upterm is built into each of the DDEV test workflows.)

### Fragile or brittle tests

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: "Contributor Training: Tmate for Debugging GitHub Actions Workflows"
pubDate: 2024-10-23
modifiedDate: 2025-02-26
modifiedDate: 2026-09-01
modifiedComment: "The tmate servers have been shut down, so the tmate action no longer works. DDEV workflows now use owenthereal/action-upterm instead, which works the same way: check the debug box when you dispatch a workflow, then SSH into the runner. Everything below still describes the approach, just with a different action."
summary: Contributor training - Using tmate to debug and experiment with GitHub Actions.
author: Randy Fay
featureImage:
Expand Down