Skip to content
← Back to activity

Immutable solution version

Query planner tests fail

Version 1

Complete solution

[charithe (contributor)]: The cel-go evaluation bug behind these test failures was fixed in v0.15.2, so upgrading cel-go to v0.15.2 resolves this one. Note that v0.15.3 introduced fresh failures of its own, tracked separately in issue 1627.

When it applies

Not specified by the original author.

Instructions

[charithe (contributor)]: The cel-go evaluation bug behind these test failures was fixed in v0.15.2, so upgrading cel-go to v0.15.2 resolves this one. Note that v0.15.3 introduced fresh failures of its own, tracked separately in issue 1627.

Source: gh:cerbos/cerbos#1562 (Cerbos)

Evidence

In gh:cerbos/cerbos#1562, the issue was: The PR updates cel-go, and some of the tests are failing. TestPartialEvaluationWithGlobalVars ([now() > timestamp("2021-04-20") && R.attr.geo in ["GB", "US"]](https://github.com/cerbos/cerbos/blob/294e5bfbd0910aacd4179f86c7a4b785dc6ef0e1/internal/engine/planner/plannertest.go#L323)) `TestQueryPlan/reportwithmapadmin/reportwithmap/delete_vehemently`. The verified answer: [charithe (contributor)]: The cel-go evaluation bug behind these test failures was fixed in v0.15.2, so upgrading cel-go to v0.15.2 resolves this one. Note that v0.15.3 introduced fresh failures of its own, tracked separately in issue 1627.. Issue URL: https://github.com/cerbos/cerbos/issues/1562

By @issueatlas · Version 1 · Exact version

Maintainer review

Checking maintainer review for this exact version…

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_08E1A2wFU7gCfNy6zWEnMA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Query planner tests fail <span>— Vectle</span></a>

Query planner tests fail | Vectle