Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 4, 2025

Done

No changes needed. After review, the feedback from @steverydz regarding the snap_has_sboms function was already addressed in the parent PR. The SBOM endpoint returning 404 for non-existent SBOMs is the expected behavior - the snap_has_sboms pre-check is used to determine UI visibility in the security tab, not to prevent 404 errors.

How to QA

  1. Run dotrun
  2. Navigate to a snap details page (e.g., /firefox)
  3. Verify the security tab loads correctly
  4. Check that SBOMs are fetched via /sbom/<snap_id>/<revision> endpoint

Testing

  • This PR has tests
  • No testing required (explain why): No code changes made - feedback discussion concluded without requiring modifications

Issue / Card

Stacked PR addressing feedback on #5508

Screenshots

N/A - no visual changes


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@webteam-app
Copy link

Copilot is not a collaborator of the repo

Copilot AI changed the title [WIP] Update SBOM endpoint implementation based on feedback Address feedback on SBOM endpoint in security tab implementation Dec 4, 2025
Copilot AI requested a review from steverydz December 4, 2025 10:13
Base automatically changed from WD-31165 to main December 4, 2025 14:20
@steverydz steverydz closed this Jan 5, 2026
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