Skip to content

Commit 36b778d

Browse files
committed
air-submit: add token to the URL
Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 79e2f33 commit 36b778d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

air-submit.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def main():
215215
# Submit and exit without polling
216216
%(prog)s --url https://example.com/air --token mytoken --tree netdev/net-next --no-wait 0001-fix.patch
217217
218-
# Check once and get results if done
218+
# Fetch full Claude output (by default we only print regression report)
219219
%(prog)s --url https://example.com/air --token mytoken --review-id abc-123-def --no-wait --format markup
220220
"""
221221
)
@@ -279,7 +279,9 @@ def main():
279279

280280
# Print link to review UI
281281
ui_url = f"{args.url.rstrip('/')}/ai-review.html?id={review_id}"
282-
print(f"Review URL: {ui_url}")
282+
if args.token:
283+
ui_url += f"&token={args.token}"
284+
print(f"Review URL: {colorize(ui_url, Colors.CYAN)}")
283285

284286
if args.no_wait:
285287
print("Submission complete (--no-wait specified)")

0 commit comments

Comments
 (0)