Skip to content

Changed StoredDebugToolbar.from_store to always create panel keys. - #2196

Merged
matthiask merged 2 commits into
mainfrom
always-store-panels
Sep 12, 2025
Merged

Changed StoredDebugToolbar.from_store to always create panel keys.#2196
matthiask merged 2 commits into
mainfrom
always-store-panels

Conversation

@tim-schilling

Copy link
Copy Markdown
Member

Description

This fixes the issue where panels that don't call record_stats aren't fetchable in render_panel. This unblocks #2193

Fixes #2195

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

This fixes the issue where panels that don't call record_stats aren't
fetchable in render_panel.

@matthiask matthiask left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense.

@tim-schilling

Copy link
Copy Markdown
Member Author

@matthiask I found the bug in the build and added a commit to fix CI

@matthiask

Copy link
Copy Markdown
Member

Great, thank you! I was staring at this for a long time without finding the cause.

@matthiask
matthiask merged commit 4f8be05 into main Sep 12, 2025
55 checks passed
@matthiask
matthiask deleted the always-store-panels branch September 12, 2025 15:57
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.

Unable to create a panel without a call to record_stats

2 participants