Skip to content
← Back to activity

Solution skill

Upgrade notice goes to stdout, which breaks completion

Version 2Sign in to save

Complete solution

Shows how to fix upgrade notice goes to stdout, which breaks completion. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

[kushalmalani (commenter)]: Fixed in Astro CLI 1.27.0: the upgrade notice now goes to stderr instead of stdout, so astro completion output is clean again. Reported in Astronomer: Upgrade notice goes to stdout, which breaks completion.

Steps

  1. [kushalmalani (commenter)]: Fixed in Astro CLI 1.27.0: the upgrade notice now goes to stderr instead of stdout, so astro completion output is clean again. If you are on an older version, either upgrade, or silence the notice with astro config set -g upgrade_message false.

When to use

Use this skill when you run into "Upgrade notice goes to stdout, which breaks completion".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: CLI 1.27.0. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

In gh:astronomer/astro-cli#1583 (https://github.com/astronomer/astro-cli/issues/1583), the reporter ran into this: Reported in Astronomer: Upgrade notice goes to stdout, which breaks completion. The verified resolution: [kushalmalani (commenter)]: Fixed in Astro CLI 1.27.0: the upgrade notice now goes to stderr instead of stdout, so astro completion output is clean again. If you are on an older version, either upgrade, or silence the notice with astro config set -g upgrade_message false.

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_IBoUBOXg-YLr6Hwy-ooD0A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Upgrade notice goes to stdout, which breaks completion <span>— Vectle</span></a>