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

Add Vector version information to the VRL playground #18403

Closed
zamazan4ik opened this issue Aug 28, 2023 · 4 comments · Fixed by #18424
Closed

Add Vector version information to the VRL playground #18403

zamazan4ik opened this issue Aug 28, 2023 · 4 comments · Fixed by #18424
Assignees
Labels
type: feature A value-adding code addition that introduce new functionality. vrl: playground Changes to the VRL Web Playground.

Comments

@zamazan4ik
Copy link
Contributor

zamazan4ik commented Aug 28, 2023

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

Vector has a playground to test VRL programs - https://playground.vrl.dev/ . But right now it's not clear - which Vector version is used during the VRL program evaluation. Since Vector users can have different Vector versions, and between Vector versions can be differences in the available VRL functionality - it's important to understand the currently deployed Vector version on the playground. In the local Vector chat we already have at least one person, who in the past saw the difference between the playground and the local Vector version and spent some time debugging it.

Attempted Solutions

I see no solutions from the user side except using a self-hosted Vector where a user can track the Vector version.

Proposal

Add the currently deployed Vector version to https://playground.vrl.dev/ , maybe as a text field or something like that. Ideally, with a precision to commit.

Another idea - host simultaneously multiple Vector versions, and add an option for a user to choose a target Vector (since Vector users don't always live on the latest Vector version and still need to evaluate their VRL programs). It could be done something like godbolt.org already does. But this way will be more difficult to implement.

References

No response

Version

No response

@zamazan4ik zamazan4ik added the type: feature A value-adding code addition that introduce new functionality. label Aug 28, 2023
@jszwedko
Copy link
Member

Thanks @zamazan4ik ! I agree we should have the version number on there. We have also discussed the idea of having a version switcher.

In case people stumble upon this issue trying to figure out the version that the playground is using, it is currently deployed from the HEAD of master.

@zamazan4ik
Copy link
Contributor Author

@pront Could we please add the currently deployed commit to the playground? Because right now it's not clear, what is the deployment lag between the master branch and the deployed VRL playground.

@jszwedko
Copy link
Member

@pront Could we please add the currently deployed commit to the playground? Because right now it's not clear, what is the deployment lag between the master branch and the deployed VRL playground.

It should be pretty instantaneous, but I agree with putting the SHA with the version number.

@pront
Copy link
Member

pront commented Sep 8, 2023

Added Vector git SHA, VRL crate version and convenient links to each one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A value-adding code addition that introduce new functionality. vrl: playground Changes to the VRL Web Playground.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants