`fail_if` tag for roles and scripts.
@maryiaLichko is already working on this.
Since Jun 9, 2026.
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
Document after https://github.com/tarantool/doc/issues/5072
Related dev. issue(s): https://github.com/tarantool/tarantool/issues/10987
Product: Tarantool
Since: 3.5
Root document: https://www.tarantool.io/en/doc/latest/reference/configuration/configuration_reference/#app
SME: @ grafin
Details
Add one more tag to the result of https://github.com/tarantool/doc/issues/5072
If the tag fail_if is set to an expression string role/script
loading will raise an error, if fail_if expression is evaluated
to be true.
The syntax for fail_if tag is the same as in config conditional.if
section.
Example:
-- --- #tarantool.metadata.v1
-- fail_if: "tarantool_version < 3.1.0"
-- ...
Requested by @ grafin in https://github.com/tarantool/tarantool/commit/fbaaa140a9817ba091e1a1874970150c958fb72f.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.