Skip to content

Conversation

@ascorbic
Copy link
Contributor

Changes

Coding agents can get confused by interactive prompts, so a pattern that is starting to be adopted is to log a hint saying to run the command with --yes to skip prompts. This PR adds that to astro add. It logs a subtle hint the first time askToContinue is run.

Here's what Claude Code thinks:

image

Testing

Currently investigating if we have any tests for astro add

Docs

@changeset-bot
Copy link

changeset-bot bot commented Nov 19, 2025

🦋 Changeset detected

Latest commit: cd4a9b5

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Nov 19, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 19, 2025

CodSpeed Performance Report

Merging #14810 will not alter performance

Comparing astro-add-yes-hint (cd4a9b5) with main (c29a785)1

Summary

✅ 6 untouched

Footnotes

  1. No successful run was found on main (f42ff9b) during the generation of this report, so c29a785 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@ascorbic ascorbic added the semver: minor Change triggers a `minor` release label Nov 19, 2025
@ascorbic ascorbic added this to the v5.16.0 milestone Nov 19, 2025
'astro': minor
---

Add hint to use `--yes` flag with `astro add`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Add hint to use `--yes` flag with `astro add`
Adds a hint to use the `--yes` flag with `astro add`

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Gone for just a few weeks and my changeset standards have slipped!

@florian-lefebvre florian-lefebvre merged commit 2e845fe into main Nov 19, 2025
5 checks passed
@florian-lefebvre florian-lefebvre deleted the astro-add-yes-hint branch November 19, 2025 15:29
@astrobot-houston astrobot-houston mentioned this pull request Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope) semver: minor Change triggers a `minor` release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants