Skip to content

Improve AIR run log guidance - #6417

Draft
ben-hansen-db wants to merge 6 commits into
mainfrom
ben-hansen/air-run-log-guidance
Draft

Improve AIR run log guidance#6417
ben-hansen-db wants to merge 6 commits into
mainfrom
ben-hansen/air-run-log-guidance

Conversation

@ben-hansen-db

@ben-hansen-db ben-hansen-db commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Print a copyable air logs command after submission.
  • Preserve the selected profile in generated commands.
  • Print a resumable logs command when air run --watch is interrupted.

Why

Make it obvious how to start or resume log streaming without making --watch the default.

Tests

  • go test ./experimental/air/cmd -run 'Test(RunSubmit|AirLogsCommand|HandleWatchResult|RunWatch)'
  • go test ./acceptance -run 'TestAccept/experimental/air/(run-submit|run-submit-deps)$' -timeout=10m
  • Focused golangci-lint for ./experimental/air/cmd

This PR was written with Codex.

Comment thread acceptance/experimental/air/run-submit-deps/output.txt Outdated
Comment thread experimental/air/cmd/run.go Outdated
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: b73708f

Run: 33222029253

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 1 1 274 1207 4:31
💚​ aws windows 1 1 276 1205 3:32
💚​ azure linux 1 1 273 1207 3:55
💚​ azure windows 1 1 275 1205 3:28
💚​ gcp linux 1 1 274 1207 4:27
💚​ gcp windows 1 1 276 1205 3:31
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
Top 3 slowest tests (at least 2 minutes):
duration env testname
3:28 aws windows TestAccept
3:26 gcp windows TestAccept
3:24 azure windows TestAccept

@ben-hansen-db
ben-hansen-db force-pushed the ben-hansen/air-run-log-guidance branch from d70816d to 0219af1 Compare August 28, 2026 23:36
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