Skip to content

Move Mozilla Accounts Glean paths to the registry lib - #1090

Open
vbudhram wants to merge 2 commits into
mozilla:mainfrom
vbudhram:fxa-glean-registry-paths
Open

vbudhram wants to merge 2 commits into
mozilla:mainfrom
vbudhram:fxa-glean-registry-paths

Conversation

@vbudhram

@vbudhram vbudhram commented Oct 14, 2026 •

Copy link
Copy Markdown

Hello,

Had some help with AI to generate this PR, but FxA is moving the location of our configs as part of a larger refactor. Let me know if this is correct or if changes are needed. My understanding is once our files are moved, I will need a new PR to delete the old location.

Order:

  1. chore(shared): copy FxA Glean YAML to the glean registry lib fxa#21516 (merged): copies at the new paths. The old files stay.
  2. This PR: probe-scraper reads only the new paths.
  3. mozilla/fxa FXA-14711, after this PR merges: delete the old files and point the FxA glean-generate scripts at the new paths.

Checks: yamllint repositories.yaml passes, and pytest tests/test_repositories_parser.py passes (4 tests). The 5 raw URLs on fxa main return 200. The firefox-enterprise-desktop error in "Check Repos" is also on probe-scraper main and is not from this change.

Mozilla Accounts is moving its Glean YAML files from
packages/fxa-shared/metrics/glean/ to
libs/shared/metrics/glean/src/registry/ (FXA-14711), next to the
Subscription Platform files. Add the new paths for accounts_frontend
and accounts_backend. Keep the old paths until the FxA move merges.
Copilot AI lite review requested due to automatic review settings October 14, 2026 20:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new paths are absent until the FxA move and cause CI repository validation to fail; defer them or add a temporary exception.

1 open finding
What changed in this PR

Adds Mozilla Accounts Glean registry paths for the planned FxA metrics migration.

Changes:

  • Adds two frontend and three backend registry paths.
  • Retains existing legacy paths during migration.
File Summary
repositories.yaml Registers new and legacy FxA Glean file locations.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread repositories.yaml
branch: main
metrics_files:
- packages/fxa-shared/metrics/glean/fxa-ui-metrics.yaml
- libs/shared/metrics/glean/src/registry/fxa-ui-metrics.yaml
@vbudhram
vbudhram marked this pull request as draft October 14, 2026 20:36
@vbudhram

Copy link
Copy Markdown
Author

Converting to draft. The Check Repos step needs the files to exist on fxa main first. FxA will add copies at the new paths (FXA-14778), then this PR will replace the old paths in one step.

The FxA files now exist at libs/shared/metrics/glean/src/registry/
on mozilla/fxa main (mozilla/fxa#21516). Remove the old
packages/fxa-shared/metrics/glean/ paths, so that the later removal
of the old files in fxa does not break the scrape.
@vbudhram vbudhram changed the title Add new Mozilla Accounts Glean registry paths Move Mozilla Accounts Glean paths to the registry lib Oct 14, 2026
@vbudhram
vbudhram marked this pull request as ready for review October 14, 2026 21:09
Copilot AI lite review requested due to automatic review settings October 14, 2026 21:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The relocated paths are updated and validation checks pass with no unresolved issues.

1 open finding

🧠 Review effort: Lite

This branch has not been deployed

No deployments
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