Repository navigation
Show CollectionDeclaration feedback under Agent - #6
Merged
Merged
Conversation
Give collection declarations a dedicated mapping and presentation with generation, readiness and selection results. Keep ordinary custom resources on their existing mapping. Add real CEL mapping and platform presentation checks. Refs StackVista/stackstate#828.
craffit
reviewed
Nov 17, 2026
craffit
left a comment
Contributor
There was a problem hiding this comment.
Mapping and presentation look good. Some UX points, mostly for discussion:
- The Resource Collections overview doesn't explain what a resource collection is. The explanation in the StackPack overview would help a lot on the overview page itself, if the presentation supports that.
- "Resource collection" reads like a set of collected things, but it means the specification of what we collect. Is there a less ambiguous name for the menu item and overview, e.g. "Collected resources" or "Collection declarations"?
- These are agent configuration rather than Kubernetes objects like CRDs and CRs. Should they live outside the Kubernetes menu group, e.g. under an agent item?
- There's no monitor on collection state. Is that intentionally left for later? A Blocked or Pending declaration seems worth alerting on.
- Not for this PR: resources collected through the agent's YAML config don't show up here, so the overview is only a partial picture of what we collect.
Show Collection Declarations after Custom Resources and share the generation freshness predicate. Mapping variables must read input directly, so current uses the source object rather than other mapping variables.
Contributor
Author
|
Updated through 0308d15:
The full setup is redeployed at https://sts-828.dev.stackstate.io/, with Collecting and Blocked examples ready for another look. |
craffit
approved these changes
Nov 19, 2026
rb3ckers
reviewed
Nov 20, 2026
rb3ckers
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Show current-generation CollectionDeclaration feedback under Agent > Collection Declarations. Place Agent below Kubernetes and Open Telemetry using explicit group orders, and add its menu icon. The Open Telemetry content version is bumped for its ordering change. Declarations also remain visible in Kubernetes > Custom Resources.
Validation: both platform validators, CLI packaging and version checks pass.
Tracks https://github.com/StackVista/stackstate/issues/828. The native topology monitor follows in https://github.com/StackVista/stackstate/issues/1155.