Skip to content

Fix release-testing skill package resolution guidance#3500

Merged
mattleibow merged 1 commit intomainfrom
dev/fix-release-testing-skill-package-resolution
Feb 5, 2026
Merged

Fix release-testing skill package resolution guidance#3500
mattleibow merged 1 commit intomainfrom
dev/fix-release-testing-skill-package-resolution

Conversation

@mattleibow
Copy link
Contributor

Summary

Fixes an issue where the release-testing skill could incorrectly report "packages not found" when the EAP feed contains multiple version streams.

Problem

When monitoring for release packages, the agent was using .latestVersion from the JSON response, which only returns the newest version across ALL version streams. When a newer stream exists (e.g., 3.119.3-preview.0), the specific version being released (e.g., 3.119.2-preview.3) would never be found.

Solution

  • Updated Step 2 in SKILL.md to use .version with proper filtering by {base}-{label}.*
  • Added explicit warning about the .latestVersion trap
  • Added "Package Resolution Errors" section to troubleshooting.md

Changes

File Change
SKILL.md Updated package resolution to use .version + filtering
troubleshooting.md Added Package Resolution Errors section

Testing

Verified the correct command finds packages:

dotnet package search SkiaSharp \
  --source "https://aka.ms/skiasharp-eap/index.json" \
  --exact-match --prerelease --format json \
  | jq -r '.searchResult[].packages[] | select(.id == "SkiaSharp") | .version' \
  | grep "^3.119.2-preview.3\."
# Output: 3.119.2-preview.3.1

- Update Step 2 to use .version instead of .latestVersion when parsing
  package search JSON results
- Add filtering by base version + label from release branch
- Add Package Resolution Errors section to troubleshooting.md
- Fix example versions for consistency

This prevents the issue where package search appears to find no packages
when the feed contains multiple version streams (e.g., 3.119.2 AND 3.119.3).
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Triage Summary

Labels will be applied to indicate the areas affected by documentation updates (area/Docs) and issues related to the SkiaSharp library (backend/SkiaSharp).

This issue is not a regression as it does not relate to any previous version's functionality or performance degradation.

Additional remarks:

  • The issue is generic and does not specify an operating system or platform for applying related labels, focusing instead on package resolution challenges without specific OS mentions.
  • It highlights a potential compatibility issue in version handling during release testing but lacks details on crashes or performance impacts.
Detailed Summary and Actions

Summary of the triage:

  • The documentation related to package resolution guidance in SKILL.md and troubleshooting.md is the primary concern.
  • The issue is specifically tied to the SkiaSharp library and correct versioning in the EAP feed.
  • No OS/platform-specific labels can be applied due to a lack of details regarding environment compatibility.

Summary of the actions that will be performed:

Action Item Description
Apply Label area/Docs The issue primarily deals with updating documentation involving package resolution guidance.
Apply Label backend/SkiaSharp The issue is related to package resolution for the SkiaSharp library concerning versioning.

This entire triage process was automated by AI and mistakes may have been made. Please let us know so we can continue to improve.

@github-actions github-actions bot added area/Docs Issues relating to documentation, such as API docs or conceptual docs. backend/SkiaSharp labels Feb 5, 2026
@mattleibow mattleibow merged commit ce5c6a0 into main Feb 5, 2026
2 checks passed
@mattleibow mattleibow deleted the dev/fix-release-testing-skill-package-resolution branch February 5, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/Docs Issues relating to documentation, such as API docs or conceptual docs.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant