Skip to content

air: re-land air logs --download-to (restore #6153) - #6259

Merged
riddhibhagwat-db merged 1 commit into
air-clifrom
air-restore-download-to
Aug 13, 2026
Merged

air: re-land air logs --download-to (restore #6153)#6259
riddhibhagwat-db merged 1 commit into
air-clifrom
air-restore-download-to

Conversation

@riddhibhagwat-db

Copy link
Copy Markdown
Contributor

Summary

#6153 ("AIR CLI Migration: --download-to flag for logs") was lost from air-cli. It merged on 2026-08-06, but air-cli was later rewound to 1fcb3c09a before #6239 merged (08-12), and the rebuilt line (#6239#6244#6241) bypassed #6153. As a result air-cli today still carries the pre-#6153 stub:

  • logs.go: --download-to is not implemented yet (the flag is rejected)
  • no logdownload.go / logdownload_test.go
  • no acceptance/experimental/air/logs-download/ test dir

This PR restores #6153's change set onto the current air-cli tip.

How

Cherry-pick of #6153's original squash commit (60cd876910cd) onto air-cli. Verified equivalence to the original:

Testing

  • go build ./experimental/air/... — ok
  • go test ./experimental/air/... — 548 pass
  • go test ./acceptance -run TestAccept/experimental/air — 29 pass (incl. logs and the restored logs-download)
  • Package lints clean
  • Confirmed the --download-to is not implemented stub is gone and logs.go now wires the real implementation

This pull request and its description were written by Isaac.

#6153 ("AIR CLI Migration: --download-to flag for logs") was merged into
air-cli on 2026-08-06, but air-cli was later rewound to 1fcb3c0 before
#6239 merged, so its implementation was dropped from the branch: air-cli
still carried the "--download-to is not implemented yet" stub and lacked
logdownload.go and the logs-download acceptance test.

This restores #6153's change set onto the current air-cli tip
(cherry-pick of the original squash commit). The only file that differs
from the original is logstream.go, which is re-merged against #6241's
later edits to that file; all other files are identical to #6153.

Co-authored-by: Isaac
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: e35a501

Run: 31645702077

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 291 1105 3:25
💚​ aws windows 4 4 293 1103 3:14
💚​ azure linux 4 4 290 1105 3:27
💚​ azure windows 4 4 292 1103 2:52
💚​ gcp linux 1 5 291 1105 4:07
💚​ gcp windows 1 5 293 1103 3:19
8 interesting tests: 4 RECOVERED, 4 SKIP
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R

@ben-hansen-db ben-hansen-db left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Re-approving commit I had previously approved

@riddhibhagwat-db
riddhibhagwat-db merged commit 49629a7 into air-cli Aug 13, 2026
24 checks passed
@riddhibhagwat-db
riddhibhagwat-db deleted the air-restore-download-to branch August 13, 2026 00:21
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.

3 participants