Skip to content

fix(test): update expected query count - #70872

Open
mendral-app[bot] wants to merge 1 commit into
masterfrom
mendral/fix-query-count-assertion
Open

fix(test): update expected query count#70872
mendral-app[bot] wants to merge 1 commit into
masterfrom
mendral/fix-query-count-assertion

Conversation

@mendral-app

@mendral-app mendral-app Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes failing Backend CI shard 14/19 on master.

Related insight: https://app.mendral.com/insights/01KXH4PDZCZZBJ97NGRPKQ87J9


Note

Created by Mendral. Tag @mendral-app with feedback or questions.

The new mirror_autocapture_opt_in_to_settings post_save receiver on Team
(added in PR #70701) triggers an extra sync_autocapture_opt_in query on
every team save. Update assertNumQueries from 5 to 6 to reflect this.
@trunk-io

trunk-io Bot commented Jul 14, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@mendral-app
mendral-app Bot marked this pull request as ready for review July 14, 2026 21:00
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

🤖 CI report

Playwright — all passed

All tests passed.

View test results →

ℹ️ ClickHouse migration SQL — 1 migration(s)

ClickHouse migration SQL per cloud environment

  • unset
    • all
      CREATE OR REPLACE VIEW custom_metrics_test
          AS SELECT
              'ClickHouseCustomMetric_Test' AS name,
              map('instance', hostname()) AS labels,
              1 AS value,
              'Test to check that the metric endpoint is working' AS help,
              'gauge' AS type
      CREATE OR REPLACE VIEW custom_metrics
          AS SELECT * REPLACE (toFloat64(value) as value)
          FROM custom_metrics_test
  • US, EU, DEV
    • events, shufflehog
      CREATE OR REPLACE VIEW custom_metrics_test
          AS SELECT
              'ClickHouseCustomMetric_Test' AS name,
              map('instance', hostname()) AS labels,
              1 AS value,
              'Test to check that the metric endpoint is working' AS help,
              'gauge' AS type
      CREATE OR REPLACE VIEW custom_metrics
          AS SELECT * REPLACE (toFloat64(value) as value)
          FROM custom_metrics_test

@scheduled-actions-posthog

Copy link
Copy Markdown
Contributor

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, please remove the stale label – otherwise this will be closed in another week. If you want to permanently keep it open, use the waiting label.

@trunk-io

trunk-io Bot commented Jul 28, 2026

Copy link
Copy Markdown

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants