Skip to content

Misc improvements part 7#5683

Merged
suhaibmujahid merged 2 commits intomozilla:masterfrom
suhaibmujahid:improvements-7
Feb 16, 2026
Merged

Misc improvements part 7#5683
suhaibmujahid merged 2 commits intomozilla:masterfrom
suhaibmujahid:improvements-7

Conversation

@suhaibmujahid
Copy link
Member

Note

These improvements could be reviewed commit by commit.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates how external service configuration is sourced (Qdrant + Phabricator), aiming to simplify environment-based configuration and URL handling.

Changes:

  • Qdrant client configuration switched from get_secret(...) to os.getenv(...).
  • Phabricator client initialization refactored to derive an API URL from a base URL (PHABRICATOR_URL) and removed reliance on PHABRICATOR_API_URL.
  • Phabricator URL-building logic consolidated into a cached _base_url() helper and used in patch-related URLs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
bugbug/vectordb.py Changes Qdrant connection configuration to use direct environment variables.
bugbug/tools/core/platforms/phabricator.py Refactors Phabricator client/url configuration around a base URL and updates URL construction sites.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@suhaibmujahid suhaibmujahid merged commit 75ab7fb into mozilla:master Feb 16, 2026
6 checks passed
@suhaibmujahid suhaibmujahid deleted the improvements-7 branch February 16, 2026 22:20
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