Inspectopedia 2026.3 Help

Unknown or unavailable variable

Reports unknown variables and variables that are unavailable in a workflow prompt.

Some variables need a trigger that supplies them:

  • The changed file variables need a session-finished trigger or a Git trigger.

  • The GIT_ variables need a Git trigger. GIT_REMOTE and GIT_REMOTE_BRANCH need a git-push or a git-pull trigger.

  • GIT_COMMIT_MESSAGE, COMMIT, and REF-COMMIT need a git-commit trigger.

Example:

--- name: Review trigger: kind: manual agent: name: codex --- Review ${CHANGED_FILES}.

A manual trigger supplies no changed files, so ${CHANGED_FILES} is unavailable here.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

AirWorkflowVariable
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Air workflows

Inspection ID: AirWorkflowVariable

Suppressing Inspection

You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:

//noinspection AirWorkflowVariable

More detailed instructions as well as other ways and options that you have can be found in the product documentation:

Last modified: 20 November 2026