You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/08/15 03:33:33 UTC

[I] [Studio][Bug] Deduplicate bundled observability assets by filename [rocketmq-dashboard]

yyqdbngt opened a new issue, #2214:
URL: https://github.com/apache/rocketmq-dashboard/issues/2214

   ## Problem
   
   Bundled Grafana dashboards and alert rules are loaded with `classpath*` resource patterns. In deployments where more than one classpath location contains the same logical filename, callers can observe duplicate dashboard/rule names. The dashboard ZIP exporter can also attempt to add the same ZIP entry twice, and default alert rules may be loaded more than once.
   
   The services currently order resources by description but do not define how duplicate logical basenames are resolved, so list, lookup, archive, and default-loading behavior can diverge.
   
   ## Proposed scope
   
   - Resolve bundled resources by logical basename in a deterministic order.
   - Use the same deduplicated view for Grafana list/get/archive operations.
   - Use the same rule for alert-rule list/get/default loading.
   - Add focused tests with duplicate-basename resources.
   
   ## Expected behavior
   
   Each logical bundled asset appears once, lookup and export agree with listing, and behavior does not depend on classpath enumeration order.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Deduplicate bundled observability assets by filename [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2214:
URL: https://github.com/apache/rocketmq-dashboard/issues/2214#issuecomment-5300446223

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase.
   
   **Root Cause:** Both `GrafanaDashboardService` and `AlertRuleAssetService` resolve resources via `classpath*:` patterns into an `ArrayList` without deduplication by logical basename. When multiple classpath locations contain the same filename, duplicates appear in listings, and the ZIP exporter in `GrafanaDashboardService.exportDashboardsAsZip` can throw `ZipException: duplicate entry` when adding the same entry name twice.
   
   **Impact:** Observability asset listing, lookup, and export become non-deterministic depending on classpath enumeration order. Duplicate ZIP entries cause export failures.
   
   **Severity:** medium
   
   An automated fix proposal will be generated. Reply `/approve` to proceed with PR generation.
   
   ---
   *Automated evaluation by github-manager-bot*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Deduplicate bundled observability assets by filename [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2214:
URL: https://github.com/apache/rocketmq-dashboard/issues/2214#issuecomment-5383289541

   This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Deduplicate bundled observability assets by filename [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #2214: [Studio][Bug] Deduplicate bundled observability assets by filename
URL: https://github.com/apache/rocketmq-dashboard/issues/2214


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org