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: emui enable exact package name searching #2052

Merged
merged 6 commits into from Jan 16, 2024

Conversation

Dartoxian
Copy link
Contributor

Description:

This PR implements exact package name searching in the EMUI. This allows indexing errors to be surfaced in the UI, for example:

exact-match.webm

This PR also fixes #2051 by treating arguments with no argtype (as is the case for the args argument) as a JSON argument. This behaviour for Form->kurtosis format is now consistent with the existing kurtosis format->Form transformer.

Is this change user facing?

YES

References (if applicable):

Copy link
Contributor

@adschwartz adschwartz left a comment

Choose a reason for hiding this comment

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

I'm ok with this change, although I wonder if showing as an explicit error when writing the name field is a little much? But will let you decide

@Dartoxian Dartoxian added this pull request to the merge queue Jan 16, 2024
Merged via the queue into main with commit 69c57ec Jan 16, 2024
37 checks passed
@Dartoxian Dartoxian deleted the bgazzard/unindexed-package branch January 16, 2024 20:49
github-merge-queue bot pushed a commit that referenced this pull request Jan 17, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.86.7](0.86.6...0.86.7)
(2024-01-16)


### Bug Fixes

* emui enable exact package name searching
([#2052](#2052))
([69c57ec](69c57ec))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
github-merge-queue bot pushed a commit that referenced this pull request Jan 19, 2024
## Description:
This fixes an issue reported by @adschwartz and @chunha-park where
packages which use the catch all `args` arg, like the ethereum package
show the following error:


![image](https://github.com/kurtosis-tech/kurtosis/assets/4419574/15ef556d-3e29-46bf-ad5b-ee0f8fc24694)

This error is occuring because the `args` arg has no 'TopLevelType', so
prior to #2052 the `args` field was not parsed as json/yaml when read.
However in #2052 the default behaviour was modified to parse fields with
an unknown type as json/yaml. This created this new bug, since the
`args` field was no parsed twice.

This fix removes the additional parsing in the 'submit' flow.

## Is this change user facing?
YES

## References (if applicable):
-
https://sageroomworkspace.slack.com/archives/C060Z6HDYR3/p1705615425847449
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.

Going back and forth between Form and YAML has a quoting issue so that both get progressively longer
2 participants