cube icon indicating copy to clipboard operation
cube copied to clipboard

RenewQuery parameter is not working

Open sweednkom opened this issue 1 month ago β€’ 1 comments

Describe the bug We tested both scenarios and observed the same behavior. The query is requested via the REST API:

  • Without cacheMode, but with renewQuery: true
  • With cache: 'must-revalidate' and renewQuery: true

In both cases, the pipeline behaves as if it’s in stale-if-slow mode. Attaching log examples for one of these queries.

Additionally, after the version update we started seeing Slow query warning logs, which should not occur when renewQuery: true is set (we include it in every query).

We have downgraded to 1.3.82.

To Reproduce Steps to reproduce the behavior:

  1. Run query with renewQuery: true
  2. Analyze normalizedQuery

Expected behavior Everything works like cacheMode is 'must-revalidate'

Screenshots

Image Image Image

Version: 1.4.0

sweednkom avatar Nov 21 '25 12:11 sweednkom

This issue might already be fixed within https://github.com/cube-js/cube/pull/10162. Duplicates https://github.com/cube-js/cube/issues/10109

KSDaemon avatar Nov 21 '25 17:11 KSDaemon