Skip to content

Improve rulesIf evaluation #4914

Improve rulesIf evaluation

Improve rulesIf evaluation #4914

Re-run triggered June 23, 2026 06:34
Status Failure
Total duration 4m 6s
Artifacts

build.yml

on: pull_request
Matrix: smoke-test
Fit to window
Zoom out
Zoom in

Annotations

11 errors
typecheck
Process completed with exit code 2.
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"test/url" =~ "/test/ur/"' => true: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"foo" =~ "/foo/"' => true: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"foo"=~ /foo/' => true: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"foo"=~/foo/' => true: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"foo"=~ /foo/' => true: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"foo" =~ /foo/' => true: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"foo" !~ /foo/' => false: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"1.11" =~ /^([[:digit:]]+(.[[:digit:]]+)*|latest)$/' => true: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"Hello World" =~ /hello world/i' => true: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23
[threads] tests/rules-regex.test.ts > gitlab rules regex > - if: '"Hello World" =~ "/hello world/i"' => true: src/utils.ts#L307
ReferenceError: rhs is not defined ❯ walk src/utils.ts:307:33 ❯ Function.evaluateRuleIf src/utils.ts:372:16 ❯ Function.getRulesResult src/utils.ts:220:24 ❯ tests/rules-regex.test.ts:52:23