:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(web-analytics): report why a query skipped precompute (#90466)
Lucas Ricoy0a7fe8b566e6
diff --git a/frontend/src/queries/query.ts b/frontend/src/queries/query.tsindex d1cedfccce95..d77263be5262 100644--- a/frontend/src/queries/query.ts+++ b/frontend/src/queries/query.ts@@ -12,6 +12,7 @@ import {PersonsNode,QueryStatus,RefreshType,+ WebStatsTableQueryResponse,} from '~/queries/schema/schema-general'import { OnlineExportContext, QueryExportContext } from '~/types'@@ -260,15 +261,20 @@ export async function performQuery<N extends DataNode>(logParams.clickhouse_sql = (response as HogQLQueryResponse)?.clickhouse}if (response && typeof response === 'object') {- // Web analytics responses report which read path served them and whether- // a lazy-precompute read was served stale. Undefined elsewhere, so these- // props only land on events that carry them.- const { preComputeStrategy, preComputeStale } = response as {- preComputeStrategy?: string- preComputeStale?: boolean- }+ // Web analytics responses report which read path served them, whether a+ // lazy-precompute read was served stale, and why a live read skipped precompute.+ // Undefined elsewhere, so these props only land on events that carry them. The+ // shape comes from the generated schema, so renaming a field there fails the+ // build instead of silently capturing undefined.+ const { preComputeStrategy, preComputeStale, preComputeIneligibleReason } = response as Partial<+ Pick<+ WebStatsTableQueryResponse,+ 'preComputeStrategy' | 'preComputeStale' | 'preComputeIneligibleReason'+ >+ >logParams.precompute_strategy = preComputeStrategylogParams.precompute_stale = preComputeStale+ logParams.precompute_ineligible_reason = preComputeIneligibleReason}}const warehouseSources = dataWarehouseSourcesFromResponse(response)diff --git a/frontend/src/queries/schema.json b/frontend/src/queries/schema.jsonindex 5c0d65918982..2e9e2f413488 100644--- a/frontend/src/queries/schema.json+++ b/frontend/src/queries/schema.json@@ -15457,6 +15457,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -15677,6 +15681,10 @@"format": "date-time","type": "string"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -15905,6 +15913,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStale": {"description": "Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline.","type": "boolean"@@ -16017,6 +16029,10 @@"format": "date-time","type": "string"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -17952,6 +17968,10 @@"$ref": "#/definitions/HogQLQueryModifiers","description": "Modifiers used when performing the query"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -18036,6 +18056,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStale": {"description": "Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline.","type": "boolean"@@ -18289,6 +18313,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -18362,6 +18390,10 @@"$ref": "#/definitions/HogQLQueryModifiers","description": "Modifiers used when performing the query"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -42288,6 +42320,10 @@"$ref": "#/definitions/HogQLQueryModifiers","description": "Modifiers used when performing the query"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -42372,6 +42408,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStale": {"description": "Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline.","type": "boolean"@@ -42705,6 +42745,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -42778,6 +42822,10 @@"$ref": "#/definitions/HogQLQueryModifiers","description": "Modifiers used when performing the query"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -43937,6 +43985,10 @@"$ref": "#/definitions/HogQLQueryModifiers","description": "Modifiers used when performing the query"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -44021,6 +44073,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStale": {"description": "Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline.","type": "boolean"@@ -44274,6 +44330,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -44347,6 +44407,10 @@"$ref": "#/definitions/HogQLQueryModifiers","description": "Modifiers used when performing the query"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -56964,6 +57028,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -57358,6 +57426,10 @@"$ref": "#/definitions/HogQLQueryModifiers","description": "Modifiers used when performing the query"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},@@ -57764,6 +57836,10 @@"offset": {"$ref": "#/definitions/integer"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStale": {"description": "Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline.","type": "boolean"@@ -57990,6 +58066,10 @@"$ref": "#/definitions/HogQLQueryModifiers","description": "Modifiers used when performing the query"},+ "preComputeIneligibleReason": {+ "description": "Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible.",+ "type": "string"+ },"preComputeStrategy": {"$ref": "#/definitions/WebAnalyticsPreComputeStrategy"},diff --git a/frontend/src/queries/schema/schema-general.ts b/frontend/src/queries/schema/schema-general.tsindex dbfeccfb5021..5620ca0c4703 100644--- a/frontend/src/queries/schema/schema-general.ts+++ b/frontend/src/queries/schema/schema-general.ts@@ -3300,6 +3300,8 @@ export interface WebOverviewQueryResponse extends AnalyticsQueryResponseBase {dateFrom?: stringdateTo?: stringpreComputeStrategy?: WebAnalyticsPreComputeStrategy+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string}export type CachedWebOverviewQueryResponse = CachedQueryResponse<WebOverviewQueryResponse>@@ -3823,6 +3825,8 @@ export interface WebStatsTableQueryResponse extends AnalyticsQueryResponseBase {preComputeStrategy?: WebAnalyticsPreComputeStrategy/** Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline. */preComputeStale?: boolean+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string}export type CachedWebStatsTableQueryResponse = CachedQueryResponse<WebStatsTableQueryResponse>@@ -3924,6 +3928,8 @@ export interface WebGoalsQueryResponse extends AnalyticsQueryResponseBase {limit?: integeroffset?: integerpreComputeStrategy?: WebAnalyticsPreComputeStrategy+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string}export type CachedWebGoalsQueryResponse = CachedQueryResponse<WebGoalsQueryResponse>@@ -3973,6 +3979,8 @@ export type WebVitalsPathBreakdownResult = Record<WebVitalsMetricBand, WebVitalsexport interface WebVitalsPathBreakdownQueryResponse extends AnalyticsQueryResponseBase {results: [WebVitalsPathBreakdownResult]preComputeStrategy?: WebAnalyticsPreComputeStrategy+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string}export type CachedWebVitalsPathBreakdownQueryResponse = CachedQueryResponse<WebVitalsPathBreakdownQueryResponse>diff --git a/posthog/clickhouse/query_tagging.py b/posthog/clickhouse/query_tagging.pyindex b56e9b331c41..b6a0a7d63fef 100644--- a/posthog/clickhouse/query_tagging.py+++ b/posthog/clickhouse/query_tagging.py@@ -452,6 +452,10 @@ class QueryTags(BaseModel):# True on precompute READ queries served from expired-within-grace jobs (serve-stale path),# so query_log can compare stale-served vs fresh reads without joining Prometheus.precompute_stale: Optional[bool] = None+ # Why a web analytics read skipped precompute: the `LazyPrecomputeIneligible` subclass name its+ # gate refused it with. A live read is otherwise indistinguishable from a precompute miss.+ # Web-only, so it carries the product prefix the shared fields above do not need.+ web_analytics_precompute_ineligible_reason: Optional[str] = Noneentity_math: Optional[list[str]] = None# replaysdiff --git a/posthog/schema.py b/posthog/schema.pyindex 8f316491b762..ca6d1c47e2da 100644--- a/posthog/schema.py+++ b/posthog/schema.py@@ -8686,6 +8686,13 @@ class WebGoalsQueryResponse(BaseModel):limit: int | None = Nonemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")offset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -8787,6 +8794,13 @@ class WebOverviewQueryResponse(BaseModel):)hogql: str | None = Field(default=None, description="Generated HogQL query.")modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -8890,6 +8904,13 @@ class WebStatsTableQueryResponse(BaseModel):limit: int | None = Nonemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")offset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStale: bool | None = Field(default=None,description=(@@ -15103,6 +15124,13 @@ class CachedWebGoalsQueryResponse(BaseModel):modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")next_allowed_client_refresh: AwareDatetimeoffset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_metadata: dict[str, Any] | None = Nonequery_status: QueryStatus | None = Field(@@ -15226,6 +15254,13 @@ class CachedWebOverviewQueryResponse(BaseModel):last_refresh: AwareDatetimemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")next_allowed_client_refresh: AwareDatetime+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_metadata: dict[str, Any] | None = Nonequery_status: QueryStatus | None = Field(@@ -15351,6 +15386,13 @@ class CachedWebStatsTableQueryResponse(BaseModel):modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")next_allowed_client_refresh: AwareDatetimeoffset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStale: bool | None = Field(default=None,description=(@@ -15419,6 +15461,13 @@ class CachedWebVitalsPathBreakdownQueryResponse(BaseModel):last_refresh: AwareDatetimemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")next_allowed_client_refresh: AwareDatetime+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_metadata: dict[str, Any] | None = Nonequery_status: QueryStatus | None = Field(@@ -15728,6 +15777,13 @@ class Response4(BaseModel):)hogql: str | None = Field(default=None, description="Generated HogQL query.")modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -15781,6 +15837,13 @@ class Response5(BaseModel):limit: int | None = Nonemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")offset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStale: bool | None = Field(default=None,description=(@@ -15947,6 +16010,13 @@ class Response8(BaseModel):limit: int | None = Nonemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")offset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -15997,6 +16067,13 @@ class Response9(BaseModel):)hogql: str | None = Field(default=None, description="Generated HogQL query.")modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -19945,6 +20022,13 @@ class QueryResponseAlternative23(BaseModel):)hogql: str | None = Field(default=None, description="Generated HogQL query.")modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -19998,6 +20082,13 @@ class QueryResponseAlternative24(BaseModel):limit: int | None = Nonemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")offset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStale: bool | None = Field(default=None,description=(@@ -20164,6 +20255,13 @@ class QueryResponseAlternative28(BaseModel):limit: int | None = Nonemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")offset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -20214,6 +20312,13 @@ class QueryResponseAlternative29(BaseModel):)hogql: str | None = Field(default=None, description="Generated HogQL query.")modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -20929,6 +21034,13 @@ class QueryResponseAlternative43(BaseModel):)hogql: str | None = Field(default=None, description="Generated HogQL query.")modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -20982,6 +21094,13 @@ class QueryResponseAlternative44(BaseModel):limit: int | None = Nonemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")offset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStale: bool | None = Field(default=None,description=(@@ -21148,6 +21267,13 @@ class QueryResponseAlternative47(BaseModel):limit: int | None = Nonemodifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")offset: int | None = None+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -21198,6 +21324,13 @@ class QueryResponseAlternative48(BaseModel):)hogql: str | None = Field(default=None, description="Generated HogQL query.")modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,@@ -24685,6 +24818,13 @@ class WebVitalsPathBreakdownQueryResponse(BaseModel):)hogql: str | None = Field(default=None, description="Generated HogQL query.")modifiers: HogQLQueryModifiers | None = Field(default=None, description="Modifiers used when performing the query")+ preComputeIneligibleReason: str | None = Field(+ default=None,+ description=(+ "Why a live response skipped precompute: the eligibility-gate reason that"+ " refused it. Unset when the query was eligible."+ ),+ )preComputeStrategy: WebAnalyticsPreComputeStrategy | None = Nonequery_status: QueryStatus | None = Field(default=None,diff --git a/products/dashboards/frontend/generated/api.schemas.ts b/products/dashboards/frontend/generated/api.schemas.tsindex a5d5aaa5eeb6..5ead5de6f459 100644--- a/products/dashboards/frontend/generated/api.schemas.ts+++ b/products/dashboards/frontend/generated/api.schemas.ts@@ -4201,6 +4201,8 @@ export interface WebStatsTableQueryResponseApi {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | nulloffset?: number | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null/** Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline. */preComputeStale?: boolean | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null@@ -4295,6 +4297,8 @@ export interface WebOverviewQueryResponseApi {hogql?: string | null/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -4613,6 +4617,8 @@ export interface Response4Api {hogql?: string | null/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -4641,6 +4647,8 @@ export interface Response5Api {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | nulloffset?: number | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null/** Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline. */preComputeStale?: boolean | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null@@ -4727,6 +4735,8 @@ export interface Response8Api {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | nulloffset?: number | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -4763,6 +4773,8 @@ export interface Response9Api {hogql?: string | null/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -6810,6 +6822,8 @@ export interface WebGoalsQueryResponseApi {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | nulloffset?: number | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -6931,6 +6945,8 @@ export interface WebVitalsPathBreakdownQueryResponseApi {hogql?: string | null/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | nulldiff --git a/products/product_analytics/frontend/generated/api.schemas.ts b/products/product_analytics/frontend/generated/api.schemas.tsindex 31be02919476..ec3ae579b084 100644--- a/products/product_analytics/frontend/generated/api.schemas.ts+++ b/products/product_analytics/frontend/generated/api.schemas.ts@@ -3355,6 +3355,8 @@ export interface WebStatsTableQueryResponseApi {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | nulloffset?: number | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null/** Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline. */preComputeStale?: boolean | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null@@ -3449,6 +3451,8 @@ export interface WebOverviewQueryResponseApi {hogql?: string | null/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -3767,6 +3771,8 @@ export interface Response4Api {hogql?: string | null/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -3795,6 +3801,8 @@ export interface Response5Api {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | nulloffset?: number | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null/** Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline. */preComputeStale?: boolean | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null@@ -3881,6 +3889,8 @@ export interface Response8Api {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | nulloffset?: number | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -3917,6 +3927,8 @@ export interface Response9Api {hogql?: string | null/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -5964,6 +5976,8 @@ export interface WebGoalsQueryResponseApi {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | nulloffset?: number | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | null@@ -6085,6 +6099,8 @@ export interface WebVitalsPathBreakdownQueryResponseApi {hogql?: string | null/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiersApi | null+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | nullpreComputeStrategy?: WebAnalyticsPreComputeStrategyApi | null/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatusApi | nulldiff --git a/products/web_analytics/backend/hogql_queries/stats_table.py b/products/web_analytics/backend/hogql_queries/stats_table.pyindex bbfa918e01e1..2c11da1325bf 100644--- a/products/web_analytics/backend/hogql_queries/stats_table.py+++ b/products/web_analytics/backend/hogql_queries/stats_table.py@@ -55,6 +55,7 @@ from products.web_analytics.backend.hogql_queries.stats_table_strategies importStatsTableQueryStrategy,)from products.web_analytics.backend.hogql_queries.web_analytics_query_runner import WebAnalyticsQueryRunner, map_columns+from products.web_analytics.backend.hogql_queries.web_lazy_precompute_common import lazy_precompute_ineligible_reasonfrom products.web_analytics.backend.hogql_queries.web_stats_frustration_lazy_precompute import (can_use_lazy_precompute as can_use_frustration_lazy_precompute,execute_lazy_precomputed_read as execute_frustration_lazy_precomputed_read,@@ -820,6 +821,7 @@ WHERE and(if self.used_preaggregated_tableselse WebAnalyticsPreComputeStrategy.LIVE),+ preComputeIneligibleReason=lazy_precompute_ineligible_reason(),**self.paginator.response_params(),)diff --git a/products/web_analytics/backend/hogql_queries/test/test_web_lazy_precompute_common.py b/products/web_analytics/backend/hogql_queries/test/test_web_lazy_precompute_common.pyindex 3a1ec923c160..5796caba2608 100644--- a/products/web_analytics/backend/hogql_queries/test/test_web_lazy_precompute_common.py+++ b/products/web_analytics/backend/hogql_queries/test/test_web_lazy_precompute_common.py@@ -41,6 +41,7 @@ from products.web_analytics.backend.hogql_queries.web_lazy_precompute_common impSESSION_SETTLING_SECONDS,STALE_WHILE_REVALIDATE_SECONDS,TEAM_SHAPE_SET_TTL_SECONDS,+ DateRangeOverMax,PerQueryOptedOut,PropertyAccessControlled,UnsupportedFilterType,@@ -53,6 +54,8 @@ from products.web_analytics.backend.hogql_queries.web_lazy_precompute_common imphost_filter_expr,is_precompute_enabled_for_team,is_team_oom_pinned,+ lazy_precompute_ineligible_reason,+ log_eligibility_outcome,pin_team_oom,try_reserve_precompute_shape,web_ensure_precomputed,@@ -162,6 +165,19 @@ class TestCheckCommonEligibility(BaseTest):self._check(use_precompute=None)+class TestEligibilityReasonTagging(BaseTest):+ def setUp(self) -> None:+ super().setUp()+ reset_query_tags()++ def test_rejection_reason_is_tagged_then_cleared_once_a_gate_admits(self) -> None:+ log_eligibility_outcome(log_prefix="web_goals", team_id=self.team.pk, error=DateRangeOverMax(120))+ assert lazy_precompute_ineligible_reason() == "DateRangeOverMax"++ log_eligibility_outcome(log_prefix="web_goals", team_id=self.team.pk, error=None)+ assert lazy_precompute_ineligible_reason() is None++class TestCacheKeyVariesWithRolloutState(BaseTest):_RUNNER_MOD = "products.web_analytics.backend.hogql_queries.web_analytics_query_runner"diff --git a/products/web_analytics/backend/hogql_queries/web_analytics_lazy_precompute.py b/products/web_analytics/backend/hogql_queries/web_analytics_lazy_precompute.pyindex 43ea11c1c1f3..7df594743346 100644--- a/products/web_analytics/backend/hogql_queries/web_analytics_lazy_precompute.py+++ b/products/web_analytics/backend/hogql_queries/web_analytics_lazy_precompute.py@@ -30,6 +30,7 @@ from products.access_control.backend.facade.api import team_has_property_access_from products.web_analytics.backend.hogql_queries.web_lazy_precompute_common import (LAZY_TTL_SECONDS, # noqa: F401 — re-exported; several runners import it from this moduleis_precompute_enabled_for_team,+ set_lazy_precompute_ineligible_reason,)logger = structlog.get_logger(__name__)@@ -216,6 +217,7 @@ def can_use_lazy_precompute(except LazyPrecomputeIneligible as exc:reason = type(exc).__name__WEB_ANALYTICS_LAZY_PRECOMPUTE_REJECTED.labels(family=log_prefix, reason=reason).inc()+ set_lazy_precompute_ineligible_reason(reason)logger.info(f"{log_prefix}_lazy_precompute_rejected",team_id=runner.team.pk,@@ -223,6 +225,7 @@ def can_use_lazy_precompute(detail=str(exc) or None,)return False+ set_lazy_precompute_ineligible_reason(None)logger.info(f"{log_prefix}_lazy_precompute_eligible",team_id=runner.team.pk,diff --git a/products/web_analytics/backend/hogql_queries/web_goals.py b/products/web_analytics/backend/hogql_queries/web_goals.pyindex fda88da53395..533367927dae 100644--- a/products/web_analytics/backend/hogql_queries/web_goals.py+++ b/products/web_analytics/backend/hogql_queries/web_goals.py@@ -20,6 +20,7 @@ from products.web_analytics.backend.hogql_queries.web_goals_lazy_precompute impocan_use_lazy_precompute,execute_lazy_precomputed_read,)+from products.web_analytics.backend.hogql_queries.web_lazy_precompute_common import lazy_precompute_ineligible_reason# Returns an array `seq` split into chunks of size `size`# Example:@@ -204,6 +205,7 @@ WHERE {periods_expression}results=[],modifiers=self.modifiers,preComputeStrategy=WebAnalyticsPreComputeStrategy.LIVE,+ preComputeIneligibleReason=lazy_precompute_ineligible_reason(),)response = execute_hogql_query(@@ -268,6 +270,7 @@ WHERE {periods_expression}results=results,modifiers=self.modifiers,preComputeStrategy=WebAnalyticsPreComputeStrategy.LIVE,+ preComputeIneligibleReason=lazy_precompute_ineligible_reason(),)def _maybe_calculate_via_lazy_precompute(self) -> Optional[WebGoalsQueryResponse]:diff --git a/products/web_analytics/backend/hogql_queries/web_lazy_precompute_common.py b/products/web_analytics/backend/hogql_queries/web_lazy_precompute_common.pyindex 782848238ae4..2d3b9507cb0f 100644--- a/products/web_analytics/backend/hogql_queries/web_lazy_precompute_common.py+++ b/products/web_analytics/backend/hogql_queries/web_lazy_precompute_common.py@@ -31,7 +31,7 @@ from posthog.hogql.property import get_property_type, property_to_exprfrom posthog.hogql.transforms.preaggregated_table_transformation import is_integer_timezonefrom posthog import redis-from posthog.clickhouse.query_tagging import get_query_tag_value, tag_queries+from posthog.clickhouse.query_tagging import clear_tag, get_query_tag_value, tag_queriesfrom posthog.hogql_queries.query_runner import ExecutionModefrom posthog.models import Team@@ -717,16 +717,35 @@ def log_eligibility_outcome(*, log_prefix: str, team_id: int, error: Optional[La"""Emit the same `*_rejected` / `*_eligible` info log shape used by everylazy path so a single Loki query can attribute all fall-throughs."""if error is not None:+ reason = type(error).__name__+ set_lazy_precompute_ineligible_reason(reason)logger.info(f"{log_prefix}_rejected",team_id=team_id,- reason=type(error).__name__,+ reason=reason,detail=str(error) or None,)else:+ set_lazy_precompute_ineligible_reason(None)logger.info(f"{log_prefix}_eligible", team_id=team_id)+def set_lazy_precompute_ineligible_reason(reason: Optional[str]) -> None:+ """Record why a gate refused this read, or clear the tag when a gate admits the query.++ A stats-table read consults several gates in turn, so a rejection from an earlier gate must not+ survive onto a query that a later gate admits.+ """+ if reason is None:+ clear_tag("web_analytics_precompute_ineligible_reason")+ else:+ tag_queries(web_analytics_precompute_ineligible_reason=reason)+++def lazy_precompute_ineligible_reason() -> Optional[str]:+ return get_query_tag_value("web_analytics_precompute_ineligible_reason")++def compute_filters_eligibility_hash(query: Any, team_timezone: str) -> str:"""Stable hash over the user-facing inputs that would fragment a precompute cache key.diff --git a/products/web_analytics/backend/hogql_queries/web_overview.py b/products/web_analytics/backend/hogql_queries/web_overview.pyindex edd395eebb54..c62acefb7829 100644--- a/products/web_analytics/backend/hogql_queries/web_overview.py+++ b/products/web_analytics/backend/hogql_queries/web_overview.py@@ -22,6 +22,7 @@ from products.web_analytics.backend.hogql_queries.web_analytics_query_runner impWEB_ANALYTICS_NO_JOIN_SERVED,WebAnalyticsQueryRunner,)+from products.web_analytics.backend.hogql_queries.web_lazy_precompute_common import lazy_precompute_ineligible_reasonfrom products.web_analytics.backend.hogql_queries.web_overview_lazy_precompute import (can_use_lazy_precompute,execute_lazy_precomputed_read,@@ -407,6 +408,7 @@ CROSS JOIN {sessions_agg} AS sessions_aggif response == pre_aggregated_responseelse WebAnalyticsPreComputeStrategy.LIVE),+ preComputeIneligibleReason=lazy_precompute_ineligible_reason(),)@cached_propertydiff --git a/products/web_analytics/backend/hogql_queries/web_vitals_path_breakdown.py b/products/web_analytics/backend/hogql_queries/web_vitals_path_breakdown.pyindex 5b196e7c8d52..5c28584fec9f 100644--- a/products/web_analytics/backend/hogql_queries/web_vitals_path_breakdown.py+++ b/products/web_analytics/backend/hogql_queries/web_vitals_path_breakdown.py@@ -16,6 +16,7 @@ from posthog.hogql.query import execute_hogql_queryfrom posthog.queries.trends.util import PROPERTY_MATH_FUNCTIONSfrom products.web_analytics.backend.hogql_queries.web_analytics_query_runner import WebAnalyticsQueryRunner+from products.web_analytics.backend.hogql_queries.web_lazy_precompute_common import lazy_precompute_ineligible_reasonfrom products.web_analytics.backend.hogql_queries.web_vitals_paths_lazy_precompute import (can_use_lazy_precompute,execute_lazy_precomputed_read,@@ -121,6 +122,7 @@ HAVING value >= 0hogql=response.hogql,modifiers=self.modifiers,preComputeStrategy=WebAnalyticsPreComputeStrategy.LIVE,+ preComputeIneligibleReason=lazy_precompute_ineligible_reason(),)def _get_results_for_band(diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex 366ff22ca841..5312a7b5358e 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -4727,6 +4727,8 @@ export namespace Schemas {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;offset?: number | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;/** Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline. */preComputeStale?: boolean | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;@@ -4817,6 +4819,8 @@ export namespace Schemas {hogql?: string | null;/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -6301,6 +6305,8 @@ export namespace Schemas {hogql?: string | null;/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -6329,6 +6335,8 @@ export namespace Schemas {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;offset?: number | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;/** Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline. */preComputeStale?: boolean | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;@@ -6415,6 +6423,8 @@ export namespace Schemas {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;offset?: number | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -6451,6 +6461,8 @@ export namespace Schemas {hogql?: string | null;/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -7434,6 +7446,8 @@ export namespace Schemas {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;offset?: number | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -7538,6 +7552,8 @@ export namespace Schemas {hogql?: string | null;/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -71562,6 +71578,8 @@ export namespace Schemas {hogql?: string | null;/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -71590,6 +71608,8 @@ export namespace Schemas {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;offset?: number | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;/** Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline. */preComputeStale?: boolean | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;@@ -71676,6 +71696,8 @@ export namespace Schemas {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;offset?: number | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -71701,6 +71723,8 @@ export namespace Schemas {hogql?: string | null;/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -72093,6 +72117,8 @@ export namespace Schemas {hogql?: string | null;/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -72121,6 +72147,8 @@ export namespace Schemas {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;offset?: number | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;/** Whether a lazy-precompute read was served from expired-within-grace (stale) jobs instead of recomputing inline. */preComputeStale?: boolean | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;@@ -72207,6 +72235,8 @@ export namespace Schemas {/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;offset?: number | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;@@ -72232,6 +72262,8 @@ export namespace Schemas {hogql?: string | null;/** Modifiers used when performing the query */modifiers?: HogQLQueryModifiers | null;+ /** Why a live response skipped precompute: the eligibility-gate reason that refused it. Unset when the query was eligible. */+ preComputeIneligibleReason?: string | null;preComputeStrategy?: WebAnalyticsPreComputeStrategy | null;/** Query status indicates whether next to the provided data, a query is still running. */query_status?: QueryStatus | null;