Skip to content

fix: 1308 refresh view cloud task not created when a new dataset is downloaded#1316

Merged
davidgamez merged 29 commits into
mainfrom
1308-refresh-view-cloud-task-not-created-when-a-new-dataset-is-downloaded
Aug 14, 2025
Merged

fix: 1308 refresh view cloud task not created when a new dataset is downloaded#1316
davidgamez merged 29 commits into
mainfrom
1308-refresh-view-cloud-task-not-created-when-a-new-dataset-is-downloaded

Conversation

@qcdyx

@qcdyx qcdyx commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

Summary:

Closes #1308

Expected behavior:
refresh materialized view task is successfully triggered when we trigger batch-datasets function.
image

Testing tips:

Provide tips, procedures and sample files on how to test the feature.
Testers are invited to follow the tips AND to try anything they deem relevant outside the bounds of the testing tips.

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with ./scripts/api-tests.sh to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

qcdyx added 25 commits August 7, 2025 09:11
…aset-is-downloaded' of github.com:MobilityData/mobility-feed-api into 1308-refresh-view-cloud-task-not-created-when-a-new-dataset-is-downloaded
@qcdyx qcdyx linked an issue Aug 13, 2025 that may be closed by this pull request
Comment thread infra/batch/main.tf Outdated
Comment thread api/src/shared/common/gcp_utils.py Outdated
Comment thread api/src/shared/common/gcp_utils.py Outdated
Comment thread infra/batch/main.tf Outdated
@davidgamez

davidgamez commented Aug 13, 2025

Copy link
Copy Markdown
Member

@jcpitre @qcdyx I just noticed that a task was created a few days ago in QA with the name "task_name". This is probably due to this code from the previous PR. Let's leave the name of the task blank when no task name is passed. We should also ensure that the other code that creates tasks is not affected by the deduplication mechanism we are introducing.

@davidgamez davidgamez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidgamez
davidgamez merged commit 1e7f3a9 into main Aug 14, 2025
4 of 6 checks passed
@davidgamez
davidgamez deleted the 1308-refresh-view-cloud-task-not-created-when-a-new-dataset-is-downloaded branch August 14, 2025 20:01
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.

Refresh View Cloud Task not created when a new dataset is downloaded

3 participants