Closed Bug 1374174 Opened 5 years ago Closed 5 years ago

Permaorange browser_all_files_referenced.js | there should be no unreferenced files - Got 1, expected 0 from chrome://browser/content/UITour-lib.js when Gecko 56 merges to mozilla-beta on 2017-08-07


(Firefox :: Tours, defect, P1)

56 Branch



Firefox 56
Tracking Status
firefox54 --- unaffected
firefox55 --- unaffected
firefox56 blocking verified


(Reporter: philor, Assigned: rexboy)



(Whiteboard: [photon-onboarding])


(1 file)

Because bug 1357049 jarred up UITour-lib.js unconditionally in the always-built browser/components/uitour/ but only referenced it in a test in the nightly-only browser/extensions/onboarding/, when we merge from mozilla-central to mozilla-beta on 2017-08-07 we'll have permaorange like

[Tracking Requested - why for this release]: potential merge permaorange resulting in a closed tree and delayed b1.
Whiteboard: [photon-onboaridng]
Whiteboard: [photon-onboaridng] → [photon-onboarding]
Component: General → Tours
Flags: needinfo?(rexboy)
Marking this as a blocking issue for 56 since it would potentially delay 56 beta 1. Marco or Fischer, can you help find someone to investigate and fix? Thanks.
Flags: needinfo?(mmucci)
Redirecting 'needinfo' to Francis who is EPM for Onboarding.
Flags: needinfo?(mmucci) → needinfo?(frlee)
this issue will be discussed in onboarding daily standup, and the right person will handle this issue.

thank you
Flags: needinfo?(frlee)
Whiteboard: [photon-onboarding] → [photon-onboarding][triage]
Onboarding will be released in version 56. We should change build script such that Onboarding is built into firefox 56 beta and release. This error shell be cleared after the change.

I'm also considering if we can build UITour-lib in Onboarding's package so that this won't happen even we don't build onboarding into Firefox. This should be possible but I'm not sure packaging files outside extension's directory is an allowed convention.
Flags: needinfo?(rexboy)
Assignee: nobody → rexboy
Flags: qe-verify+
Priority: -- → P1
QA Contact: jwilliams
Whiteboard: [photon-onboarding][triage] → [photon-onboarding]
Target Milestone: --- → Firefox 56
Hi Mossop:
Given Onboarding is the only extension that uses UITour-lib.js which is originally a file not being packed anywhere, I think packaging it within onboarding may be a good idea to decouple whether we need to build onboarding with beta/release or not.
The only thing I'm not sure about is whether we're allowed to package other components' file. So I just added some comments for that.
Can you take a look whether this solution looks good to you?
Comment on attachment 8880320 [details]
Bug 1374174 - Package UITour-lib.js only in onboarding extension to prevent noreference error.

Yes this seems like a good solution.
Attachment #8880320 - Flags: review?(dtownsend) → review+
Thank you Mossop.
It looks fine on try server so let's check it in.
Keywords: checkin-needed
Pushed by
Package UITour-lib.js only in onboarding extension to prevent noreference error. r=mossop
Keywords: checkin-needed
Closed: 5 years ago
Resolution: --- → FIXED
How would I test this Rex? Seems like this is an automated test.
Flags: needinfo?(rexboy)
This is verified by the fact that this test isn't failing on Beta since 56 was uplifted there a week ago.
Flags: needinfo?(rexboy)
Flags: qe-verify+
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.