Skip to content

Bug 2081207 - Add a Crash Data URL field for the graph and table - #2778

Merged
dklawren merged 1 commit into
mozilla:masterfrom
calixteman:crash-data-url
Oct 13, 2026
Merged

dklawren merged 1 commit into
mozilla:masterfrom
calixteman:crash-data-url

Conversation

@calixteman

Copy link
Copy Markdown
Contributor

Use cf_crash_data_url for Socorro filters in both widgets, replacing bug_file_loc as the table's filter source. Require the Socorro search URL prefix and a nonempty crash signature. Use MEDIUMTEXT for long URLs.

Use cf_crash_data_url for Socorro filters in both widgets, replacing
bug_file_loc as the table's filter source. Require the Socorro search
URL prefix and a nonempty crash signature. Use MEDIUMTEXT for long URLs.
Copilot AI balanced review requested due to automatic review settings October 13, 2026 12:08

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 classic bug view silently omits Crash Data URL filters from the crash table.

1 open finding
What changed in this PR

Adds a validated Crash Data URL field and applies its Socorro filters to crash widgets.

Changes:

  • Adds field creation, visibility, validation, and error handling.
  • Integrates URL filters into the crash graph and table.
  • Adds REST and rendering regression coverage.
File Description
qa/​t/​rest_bug_crash_data_url.t Tests validation and rendering.
extensions/​BugModal/​template/​en/​default/​bug_modal/​edit.html.tmpl Moves URL into Crash Data.
extensions/​BugModal/​template/​en/​default/​bug_modal/​create.html.tmpl Handles URL during creation.
extensions/​BMO/​web/​socorro-lens/​main.js Applies URL filters to graphs.
extensions/​BMO/​web/​js/​firefox-crash-table.js Applies URL filters to tables.
extensions/​BMO/​template/​en/​default/​hook/​global/​user-error-errors.html.tmpl Adds validation errors.
extensions/​BMO/​template/​en/​default/​hook/​bug_modal/​edit-custom_field-cf_crash_signature.html.tmpl Renders URL and graph.
extensions/​BMO/​lib/​Data.pm Configures field visibility.
extensions/​BMO/​Extension.pm Creates and validates the field.
Bugzilla/​Template.pm Passes URL to Socorro Lens.

🧠 Review effort: Balanced


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

Comment thread extensions/BMO/web/js/firefox-crash-table.js

@dklawren dklawren left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM r=dkl

@dklawren
dklawren merged commit 8d7e7f4 into mozilla:master Oct 13, 2026
8 checks passed
@dklawren

Copy link
Copy Markdown
Collaborator

I will need to run checksetup.pl on the server once the new code is deployed to add the new custom field.

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.

3 participants