Skip to content

Conversation

@bjoernricks
Copy link
Contributor

@bjoernricks bjoernricks commented Nov 6, 2025

What

Fix Trashcan Requests and links to the different entities at the trashcan page

Why

Don't query trashcan data for features that are not available to avoid errors being displayed.

Checklist

  • Tests

Don't load agent groups and oci container targets if the corresponding
features are not available. Trying to load these from the backend when
deactivated will result in errors being displayed.
The link for the agent groups was broken and all link ids use a
consistent pattern now.
@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 2dcb318.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@bjoernricks bjoernricks marked this pull request as ready for review November 6, 2025 10:46
@bjoernricks bjoernricks requested a review from a team as a code owner November 6, 2025 10:46
@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

❌ Patch coverage is 58.92857% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.93%. Comparing base (fec5b3a) to head (2dcb318).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/web/pages/trashcan/TrashCanPage.tsx 51.42% 17 Missing ⚠️
src/gmp/commands/trashcan.ts 60.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4936      +/-   ##
==========================================
- Coverage   68.94%   68.93%   -0.01%     
==========================================
  Files        1144     1144              
  Lines      106372   106387      +15     
  Branches     8135     8139       +4     
==========================================
+ Hits        73333    73342       +9     
- Misses      32998    33004       +6     
  Partials       41       41              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bjoernricks bjoernricks enabled auto-merge (rebase) November 6, 2025 10:49
@bjoernricks bjoernricks merged commit 9d0bb68 into main Nov 6, 2025
22 of 24 checks passed
@bjoernricks bjoernricks deleted the fix-trashcan-requests branch November 6, 2025 11:01
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