Skip to content

HNT-2084: Switch image_gcs to GCP v2 and remove dual-write - #1371

Open
mmiermans wants to merge 2 commits into
mainfrom
hnt-2084-switch-image-gcs-to-gcpv2
Open

HNT-2084: Switch image_gcs to GCP v2 and remove dual-write#1371
mmiermans wants to merge 2 commits into
mainfrom
hnt-2084-switch-image-gcs-to-gcpv2

Conversation

@mmiermans

@mmiermans mmiermans commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator

References

JIRA: HNT-2084

Description

Repoint [image_gcs] config from v1 project (moz-fx-merino-prod-1c2f / merino-images-prodpy) to v2 project (moz-fx-merino-prod-5de4 / merino-images-prod). Remove the now-redundant [image_gcs_v2] config sections, validators, and dual-write logic in Finance/Polygon, FlightAware, and Suggest manager.

This unblocks decommissioning the v1 GCP project. Without this change, the manifest provider, ADM icon processing, Top Picks, Finance, and FlightAware all read from the v1 bucket — and curated-recommendations is indirectly affected via publisher icons.

PR Review Checklist

Put an x in the boxes that apply

  • This PR conforms to the Contribution Guidelines
  • The PR title starts with the JIRA issue reference, format example [DISCO-####], and has the same title (if applicable)
  • [load test: (abort|skip|warn)] keywords are applied to the last commit message (if applicable)
  • Documentation has been updated (if applicable)
  • Functional and performance test coverage has been expanded and maintained (if applicable)

🤖 Generated with Claude Code

mmiermans and others added 2 commits April 3, 2026 08:31
Repoint [image_gcs] config from v1 project (moz-fx-merino-prod-1c2f)
to v2 project (moz-fx-merino-prod-5de4), remove the now-redundant
[image_gcs_v2] config sections, and clean up dual-write logic in
Finance/Polygon and FlightAware.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@misaniwere

Copy link
Copy Markdown
Contributor

looks good to me so far. let me know when it's ready for review 👍🏾

@mmiermans
mmiermans marked this pull request as ready for review April 10, 2026 15:46

@ncloudioj ncloudioj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, thanks! Just a few more changes for stage.toml.

Comment thread merino/configs/stage.toml
# Set to `true` in production and `false` in staging or development.
gcs_enabled = false


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you update the following entries for stage.image_gcs and stage.curated_recommendations.gcs?

[stage.image_gcs]
# MERINO_IMAGE_GCS__GCS_PROJECT
gcs_project = "moz-fx-merino-nonprod-db57"

# MERINO_IMAGE_GCS__GCS_BUCKET
gcs_bucket = "merino-images-stage"

[stage.curated_recommendations.gcs]
# MERINO__CURATED_RECOMMENDATIONS__GCS__BUCKET_NAME
# GCS bucket that contains aggregate engagement and prior data
bucket_name = "merino-airflow-data-stage"

# MERINO__CURATED_RECOMMENDATIONS__GCS__GCP_PROJECT
# GCP project name where the GCS bucket lives.
gcp_project = "moz-fx-merino-nonprod-db57"

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.

4 participants