Skip to content

[release/9.4] Share more package checking code between CLI and app host - #10381

Merged
Dan Moseley (danmoseley) merged 4 commits into
release/9.4from
backport/pr-10372-to-release/9.4
Jul 14, 2025
Merged

[release/9.4] Share more package checking code between CLI and app host#10381
Dan Moseley (danmoseley) merged 4 commits into
release/9.4from
backport/pr-10372-to-release/9.4

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

Backport of #10372 to release/9.4

/cc David Fowler (@davidfowl) James Newton-King (@JamesNK)

Customer Impact

We have inconsistencies in update notification logic between the CLI and app host, which could result in missing update prompts. This change ensures both the CLI and app host use the same logic for checking package updates, leading to more reliable and predictable notifications and a consistent user experience.

Testing

Unit and integration tests were updated and/or added to cover the unified package checking logic. Manual verification was performed to ensure both the CLI and app host now provide consistent update notifications for various test scenarios.

Risk

Low to moderate. The change refactors and centralizes existing logic, reducing duplication but affecting both the CLI and app host. There is some risk of introducing subtle differences or regressions if edge cases are not covered, but overall, the risk is mitigated by automated and manual testing.

Regression?

No known regressions are expected. The refactoring addresses an existing inconsistency, so it should reduce the likelihood of future regressions in update notification logic by having a single source of truth.

@danmoseley
Dan Moseley (danmoseley) merged commit 2b5725a into release/9.4 Jul 14, 2025
255 checks passed
@danmoseley
Dan Moseley (danmoseley) deleted the backport/pr-10372-to-release/9.4 branch July 14, 2025 17:00
@danmoseley Dan Moseley (danmoseley) added the Servicing-approved Approved for servicing release label Jul 14, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants