tarantool / tarantool/doc

`fail_if` tag for roles and scripts.

Open
#5,179 2 comments 0 reactions 1 assignee View on GitHub

@maryiaLichko is already working on this.

Since Jun 9, 2026.

3.5 config reference
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.