Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test-pwsh-latest.props
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = v7.6.2
version = v7.6.3
repo = https://github.com/PowerShell/PowerShell/
Comment on lines +1 to 2

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: The test-pwsh-7.6.props file is used in CI but is not managed by the dependency updater in update-deps.yml, causing it to become stale and inconsistent with the 'latest' version.
Severity: MEDIUM

Suggested Fix

Add an entry for tests/test-pwsh-7.6.props to the update-deps.yml workflow file. This should include a version pattern like '^v7\.6\.\d+$' to ensure it automatically tracks the latest patch releases for the 7.6 minor version, similar to how versions 7.4 and 7.5 are managed.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: tests/test-pwsh-latest.props#L1-L2

Potential issue: The CI configuration in `build.yml` runs tests against PowerShell
version '7.6' using the `tests/test-pwsh-7.6.props` file. However, this file is not
configured for automatic updates in the `update-deps.yml` workflow. As a result, while
this pull request updates the 'latest' test matrix to PowerShell v7.6.3, the '7.6'
matrix remains on the older v7.6.2. This creates a maintenance gap and an inconsistency
where the two test configurations have diverged, potentially masking patch-specific
regressions or fixes in the 7.6 release line.

Also affects:

  • build.yml
  • update-deps.yml
  • tests/test-pwsh-7.6.props

Did we get this right? 👍 / 👎 to inform future reviews.

Loading