Skip to content

Conversation

@jem-davies
Copy link
Collaborator

@jem-davies jem-davies commented Oct 15, 2025

Bento components have an associated 'Status', that can take the value of "stable", "beta", "experimental" & "deprecated". Currently the only way a user of Bento would understand they were using a "beta" / "experimental" component is if they have seen the warning on the component's doc page.

This PR will add an additional type of Lint Warning such that when a "beta" or "experimental" component is parsed, we will emit a Warning log, users will be able to silence these warnings with additional options --allow-beta & --allow-experimental.

In a future major update to Bento, we could alter this behaviour so that Bento will not execute a stream with "experimental" or "beta" components, unless explicitly allowed by the user.

This PR will add warning logs when a stream is created via:

  • bento 'normal mode' bento -c config.yaml
  • bento components loaded via a resource file
  • creation of streams via REST API
  • bento 'streams mode' bento streams ./*.yaml
  • watching config files
  • bento lint ...

In a follow up PR I will alter the StreamBuilder API to allow modifying if we will log warnings for experimental / beta components.

@jem-davies jem-davies changed the title add warning logs for experimental & beta components; add cli options … add warning logs for experimental & beta components Oct 15, 2025
@jem-davies jem-davies force-pushed the add-flags-allow-experimental-beta branch 2 times, most recently from c8cee1d to 8f369ec Compare October 23, 2025 08:36
@jem-davies jem-davies marked this pull request as ready for review October 23, 2025 08:36
@jem-davies jem-davies force-pushed the add-flags-allow-experimental-beta branch from 8f369ec to 57d659d Compare October 23, 2025 08:51
@jem-davies
Copy link
Collaborator Author

Expecting the test github action to fail - but it would be fixed by: #508

@jem-davies jem-davies force-pushed the add-flags-allow-experimental-beta branch from 57d659d to 3b92545 Compare October 28, 2025 14:23
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.

1 participant