vibeqc.enforce_runtime_pin_from_env

vibeqc.enforce_runtime_pin_from_env()[source]

Fail early when the current build does not match an opt-in pin.

The guard is intentionally environment-driven so release-paper and validation queues can pin an exact runtime without changing the public run_job / run_periodic_job signatures. If none of the pin variables are set, this function is a no-op.

Supported variables:

  • VIBEQC_EXPECT_VERSION: exact package version, e.g. 0.15.1.

  • VIBEQC_EXPECT_GIT_SHA: commit prefix of at least seven characters.

  • VIBEQC_EXPECT_GIT_BRANCH: exact branch name, e.g. release.

Return type:

None