Skip to content

Conversation

@alexmt
Copy link
Collaborator

@alexmt alexmt commented Sep 22, 2025

PR is a followup for #24690

It changes the default limit of number of resources stored in applicationset status to 5000.
Also adds resourcesCount field to help building future applicationset UI that will show appset resources tree.

@alexmt alexmt requested a review from a team as a code owner September 22, 2025 21:46
@bunnyshell
Copy link

bunnyshell bot commented Sep 22, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

// Resources is a list of Applications resources managed by this application set.
Resources []ResourceStatus `json:"resources,omitempty" protobuf:"bytes,3,opt,name=resources"`
Resources []ResourceStatus `json:"resources,omitempty" protobuf:"bytes,3,opt,name=resources"`
ResourcesCount int64 `json:"resourcesCount,omitempty" protobuf:"varint,4,opt,name=resourcesCount"`
Copy link
Member

Choose a reason for hiding this comment

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

Should have a docstring for this, particularly to explain it may differ from the actual length of resources.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes sense. Added documentation

@alexmt alexmt force-pushed the resource-limit-default branch from 6f5cdf9 to 9d76def Compare September 22, 2025 22:08
@codecov
Copy link

codecov bot commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.48%. Comparing base (452f6c6) to head (9d76def).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #24698      +/-   ##
==========================================
- Coverage   60.51%   60.48%   -0.04%     
==========================================
  Files         350      350              
  Lines       60196    60199       +3     
==========================================
- Hits        36430    36411      -19     
- Misses      20832    20849      +17     
- Partials     2934     2939       +5     

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

@alexmt alexmt enabled auto-merge (squash) September 22, 2025 22:51
@alexmt
Copy link
Collaborator Author

alexmt commented Sep 23, 2025

thanks for review @crenshaw-dev PTAL

@alexmt alexmt merged commit f6f1a42 into argoproj:master Sep 23, 2025
28 checks passed
@alexmt alexmt added the cherry-pick/3.2 Candidate for cherry picking into the 3.2 release branch label Sep 23, 2025
@alexmt alexmt deleted the resource-limit-default branch September 23, 2025 16:21
@argo-cd-cherry-pick-bot
Copy link

❌ Cherry-pick failed for 3.2. Please check the workflow logs for details.

alexmt added a commit to alexmt/argo-cd that referenced this pull request Sep 23, 2025
alexmt added a commit that referenced this pull request Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick/3.2 Candidate for cherry picking into the 3.2 release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants