Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Always display version indicator #74774

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

huozhi
Copy link
Member

@huozhi huozhi commented Jan 10, 2025

What

Remove the condition to check when version indicator can be displayed as it doesn't have to be coupled with test mode or telemetry

@ijjk ijjk added created-by: Next.js team PRs by the Next.js team. type: next labels Jan 10, 2025
Copy link
Member Author

huozhi commented Jan 10, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@huozhi huozhi requested a review from ztanner January 10, 2025 22:53
@huozhi huozhi marked this pull request as ready for review January 10, 2025 22:53
@@ -631,9 +631,7 @@ export async function createHotReloaderTurbopack(
getNextErrorFeedbackMiddleware(opts.telemetry),
]

const versionInfoPromise = getVersionInfo(
isTestMode || opts.telemetry.isEnabled
Copy link
Member

Choose a reason for hiding this comment

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

wondering if we had this disabled in test mode due to network flakes? but lgtm if it isn't causing problems.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should just move these checks lower. The installed version should always be displayed but whether we check for latest/canary should continue to be tied to telemetry settings.

@huozhi huozhi enabled auto-merge (squash) January 10, 2025 23:01
@huozhi huozhi disabled auto-merge January 10, 2025 23:28
@huozhi huozhi merged commit 982fff3 into canary Jan 10, 2025
122 of 130 checks passed
@huozhi huozhi deleted the huozhi/01-10-always_display_version_info branch January 10, 2025 23:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 26, 2025
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants