Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: dont create actionnetwork rows in test_sources as they cant be deleted #170

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joaquimds
Copy link

@joaquimds joaquimds commented Dec 19, 2024

Description

Running the tests added records to Action Network. This was causing the Action Network group to have 1000s of records, which made the tests very slow.

This PR makes the Action Network tests use existing records.

This PR also fixes a couple of bugs:

  1. The Action Network client was always fetching one more page than it needed to;
  2. Analytics.imported_data_by_area was not fixed for admin_districts

@commonknowledge-bot commonknowledge-bot deployed to feat/dont-create-test-action-network-rows - meep-database PR #170 December 19, 2024 01:33 — with Render Active
@commonknowledge-bot commonknowledge-bot temporarily deployed to feat/dont-create-test-action-network-rows - meep-intelligence-hub-backend PR #170 December 19, 2024 01:33 — with Render Destroyed
@commonknowledge-bot commonknowledge-bot temporarily deployed to feat/dont-create-test-action-network-rows - meep-intelligence-hub-backend PR #170 December 19, 2024 01:34 — with Render Destroyed
@commonknowledge-bot commonknowledge-bot temporarily deployed to feat/dont-create-test-action-network-rows - meep-intelligence-hub-frontend PR #170 December 19, 2024 01:34 — with Render Destroyed
@commonknowledge-bot commonknowledge-bot deployed to feat/dont-create-test-action-network-rows - meep-intelligence-hub-worker PR #170 December 19, 2024 01:34 — with Render Active
@commonknowledge-bot commonknowledge-bot temporarily deployed to feat/dont-create-test-action-network-rows - meep-intelligence-hub-frontend PR #170 December 19, 2024 01:34 — with Render Destroyed
@joaquimds joaquimds force-pushed the feat/dont-create-test-action-network-rows branch from 702504a to 3b7c3ff Compare December 19, 2024 01:40
@commonknowledge-bot commonknowledge-bot temporarily deployed to feat/dont-create-test-action-network-rows - meep-intelligence-hub-worker PR #170 December 19, 2024 01:40 — with Render Destroyed
@commonknowledge-bot commonknowledge-bot temporarily deployed to feat/dont-create-test-action-network-rows - meep-intelligence-hub-backend PR #170 December 19, 2024 01:40 — with Render Destroyed
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.

2 participants