Closed Bug 1593276 Opened 5 years ago Closed 5 years ago

Add automated test to check if bundle and source files are out of sync for newtab/

Categories

(Firefox :: Messaging System, task, P1)

task

Tracking

()

RESOLVED FIXED
Firefox 78
Iteration:
77.2 - Apr 20 - May 3
Tracking Status
firefox72 --- wontfix
firefox75 --- wontfix
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- fixed

People

(Reporter: k88hudson, Assigned: emcminn)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

When changing source files like Actions.jsm or scss / jsx in Phabricator, sometimes build assets are not updated, as well as the locale directory.

We should consider adding some kind of automated test that checks for missing changes / inconsistency; one option would be a more coarse-grained approach where if certain files change, the corresponding built file should be changed.

Priority: -- → P2

I'd like to prioritize this given a bunch of recent regressions.

Dan suggests:

  • simple thing guaranteed to work, but has a lot of latency: add code at the beginning of try-runner.js to look at the date on bundle.js, then look at it after karma has run. if it's change, throw an error to make tree-herder go red
Priority: P2 → P1

And if we're unhappy with the latency after doing that, we can tighten the feedback loop by fixing some already filed bugs:

  1. make the builds not use shippable (read PGO) builds by fixing bug 1579162
  2. then re-land bug 1567929 to run try-runner.js at code-review time
  3. finally implement bug 1579154 to surface any issues into the front page of the review so it can't be missed
Assignee: nobody → emcminn
Iteration: --- → 76.2 - Mar 23 - Apr 5

Dan, can you help take a look at this with Emily?

Iteration: 76.2 - Mar 23 - Apr 5 → 77.1 - Apr 6 - Apr 19
Iteration: 77.1 - Apr 6 - Apr 19 → 77.2 - Apr 20 - May 3
Pushed by emcminn@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/61c857bfd0fe Automated test added to try-runner.js to check for changes in activity-stream.bundle r=Mardak
Blocks: 1641946
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
Blocks: 1787229
Blocks: 1815508
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: