Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(weave_query): Ensure newVars are passed in when expanding a panel op #3059

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

domphan-wandb
Copy link
Contributor

@domphan-wandb domphan-wandb commented Nov 22, 2024

Description

The panel op, .table() crashes the panel when it is used in the following manner:

  • runs.summary["table"].run.table
  • runs.summary["table"].table.run.table

The error occurs from a var node being sent to the query engine service. After much debugging and pairing on this with @shawnlewis, we determined that the useExpandedNode hook was not receiving the frame with the runs node, so the solution was to pass in newVars from the usePanelExpressionState hook.

No longer crashes:
image

image

Testing

How was this PR tested?

  • Manually

@domphan-wandb domphan-wandb requested review from a team as code owners November 22, 2024 16:25
@domphan-wandb domphan-wandb changed the title fix(weave-js): Ensure newVars are passed in when expanding a panel op fix(weave_query): Ensure newVars are passed in when expanding a panel op Nov 22, 2024
@circle-job-mirror
Copy link

circle-job-mirror bot commented Nov 22, 2024

@domphan-wandb domphan-wandb merged commit 0cc26d3 into master Nov 22, 2024
116 checks passed
@domphan-wandb domphan-wandb deleted the dom/fix-table-panel-op branch November 22, 2024 17:53
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants