Skip to content

File bugs in Core :: General when the moz.yaml's component doesn't exist - #434

Merged
tomrittervg merged 1 commit into
masterfrom
2026-10-19-tjr-missing-component-fallback
Oct 19, 2026
Merged

tomrittervg merged 1 commit into
masterfrom
2026-10-19-tjr-missing-component-fallback

Conversation

@tomrittervg

Copy link
Copy Markdown
Collaborator

If the bugzilla component in a library's moz.yaml doesn't exist, Bugzilla rejects the bug (code 51, "There is no component named ...") and we crashed without filing anything. On the dev instance this hit seven libraries whose components only exist in production.

File the bug in Core :: General instead, then file a bug in Updatebot's component asking for the moz.yaml to be fixed, blocking the first one and needinfo-ing tom and the library's maintainer. If filing that second bug fails, log it and carry on rather than losing track of the library's bug.

If the bugzilla component in a library's moz.yaml doesn't exist, Bugzilla
rejects the bug (code 51, "There is no component named ...") and we crashed
without filing anything. On the dev instance this hit seven libraries whose
components only exist in production.

File the bug in Core :: General instead, then file a bug in Updatebot's
component asking for the moz.yaml to be fixed, blocking the first one and
needinfo-ing tom and the library's maintainer. If filing that second bug
fails, log it and carry on rather than losing track of the library's bug.

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

Follow-up bugs do not preserve confidentiality, exposing associations between libraries and restricted commit-alert bugs.

1 open issue
What changed in this PR

Adds fallback filing when a library’s configured Bugzilla component does not exist.

Changes:

  • Retries filing in Core :: General and creates a linked configuration-repair bug.
  • Allows repair bugs to omit Firefox affected-status fields.
  • Tests fallback filing and repair-bug failure handling.
File Description
tests/​bugzilla.py Tests missing-component fallback and follow-up failures.
components/​bugzilla.py Adds fallback filing and configuration-repair notifications.
apis/​bugzilla_api.py Makes affected-status marking optional.

Review effort: Balanced

Comment thread components/bugzilla.py
@tomrittervg
tomrittervg merged commit f96c73e into master Oct 19, 2026
17 checks passed
@tomrittervg
tomrittervg deleted the 2026-10-19-tjr-missing-component-fallback branch October 19, 2026 16:46
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