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

[Meta] Validation of transforms defined in packages #2394

Open
mrodm opened this issue Feb 11, 2025 · 1 comment
Open

[Meta] Validation of transforms defined in packages #2394

mrodm opened this issue Feb 11, 2025 · 1 comment
Labels
discuss Team:Ecosystem Label for the Packages Ecosystem team

Comments

@mrodm
Copy link
Contributor

mrodm commented Feb 11, 2025

Relates #1402
Relates #2341

Currently, elastic-package performs a validation process for packages containing transform definitions based on validating the documents returned by the transform preview API. This process was introduced in #1402.

As discovered in #2341, validating transforms in a proper way could be problematic as it is now. Main issues found:

Due to the above, it looks like that the testing and validation process for transforms should be revisited. Maybe they should have their own test suite along with pipeline, system, static, and other test suites.

cc @elastic/ecosystem

Related PRs:

Other issues related (should it be moved as sub-issue here?):

@jsoriano
Copy link
Member

Due to the above, it looks like that the testing and validation process for transforms should be revisited.

I'd go further, to say that the whole transforms support in packages should be revisited. It is too open now, and as we have found it is likely not being correctly used in some cases.

@kpollich kpollich assigned mrodm and unassigned mrodm Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Team:Ecosystem Label for the Packages Ecosystem team
Projects
None yet
Development

No branches or pull requests

2 participants