Skip to content

fix(workspace): improve config-merger log message readability#10235

Merged
davidfirst merged 3 commits intomasterfrom
fix/improve-config-merger-log-messages
Mar 18, 2026
Merged

fix(workspace): improve config-merger log message readability#10235
davidfirst merged 3 commits intomasterfrom
fix/improve-config-merger-log-messages

Conversation

@davidfirst
Copy link
Member

Replace abbreviated "ws" and "comp" with full words "workspace" and "the component" in dependency update log messages for better readability.

Before: @teambit/defender.eslint-linter - not updating. the version from ws 1.0.60 is greater than 1.0.59 from comp
After: @teambit/defender.eslint-linter - not updating. the workspace version 1.0.60 is greater than 1.0.59 from the component

Replace abbreviated "ws" and "comp" with full words "workspace" and
"the component" in dependency update log messages.
Copilot AI review requested due to automatic review settings March 18, 2026 14:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates user-facing log messages emitted by the workspace config merger when deciding whether to update, conflict, or skip dependency version changes in workspace.jsonc.

Changes:

  • Rephrases “ws/comp” wording to “workspace/component” for clarity in several “not updating” log reasons.
  • Adjusts some messages around “min version” / “range” scenarios to be more descriptive.

You can also share your feedback on Copilot code review. Take the survey.

- Use "workspace range" instead of "workspace version" when depInWsVer is a range
- Include computed wsMinVer in log message for clarity
Copilot AI review requested due to automatic review settings March 18, 2026 17:15
@davidfirst davidfirst enabled auto-merge (squash) March 18, 2026 17:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refines user-facing log messages emitted by the workspace config merger when deciding whether to update dependency versions/ranges in workspace.jsonc, making the output more explicit about “workspace” vs “component”.

Changes:

  • Reworded “not updating” log messages for dependency version/range comparisons.
  • Added more detailed context to one log message by including the computed min version for a workspace range.

You can also share your feedback on Copilot code review. Take the survey.

return;
}
addNotUpdateToLogs(`the version from ws ${depInWsVer} is greater than ${depInCompVer} from comp`);
addNotUpdateToLogs(`the workspace version ${depInWsVer} is greater than ${depInCompVer} from the component`);
return;
}
addNotUpdateToLogs(`the range from ws ${depInWsVer} is greater than ${depInCompVer} from comp`);
addNotUpdateToLogs(`the workspace range ${depInWsVer} is greater than ${depInCompVer} from the component`);
@davidfirst davidfirst merged commit 305eaa5 into master Mar 18, 2026
16 checks passed
@davidfirst davidfirst deleted the fix/improve-config-merger-log-messages branch March 18, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants