Closed
Bug 1366917
Opened 8 years ago
Closed 8 years ago
Provide ability to include the system's RAM in the update URL
Categories
(Toolkit :: Application Update, enhancement)
Toolkit
Application Update
Tracking
()
VERIFIED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(1 file, 1 obsolete file)
5.23 KB,
patch
|
molly
:
review+
|
Details | Diff | Splinter Review |
It looks like this will be needed for the Firefox 32 to Firefox 64 migration via app update.
Assignee | ||
Comment 1•8 years ago
|
||
Pushed to try with a couple of other patches
https://treeherder.mozilla.org/#/jobs?repo=try&revision=27763e929b4c08f4603f775696ca943d3f5a114a
I suspect this value might be added to %SYSTEM_CAPABILITIES% as well (I'll discuss this with bhearsum) but that can be done in a new bug.
Attachment #8870216 -
Flags: review?(mhowell)
Assignee | ||
Comment 2•8 years ago
|
||
Ben, what would be best for balrog for this new value? I think it might make sense to add it to %SYSTEM_CAPABILITIES% but I'm fine with adding a new value if that is better. I'd prefer to avoid overriding other values as we have been doing but I'm open to discussion.
Flags: needinfo?(bhearsum)
Updated•8 years ago
|
Blocks: win64-migration
Comment 3•8 years ago
|
||
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #2)
> Ben, what would be best for balrog for this new value? I think it might make
> sense to add it to %SYSTEM_CAPABILITIES% but I'm fine with adding a new
> value if that is better. I'd prefer to avoid overriding other values as we
> have been doing but I'm open to discussion.
I'll have to tweak Balrog a bit, but I think %SYSTEM_CAPABILITIES% is best. I think it would be a pain if we needed to add new URL parts whenever we add any piece of hardware information to the update url. If I remember correctly, the original idea behind that field was to include hardware information anyways.
Do you have a particular format in mind? Eg: "SSE,4096"? It's important that we can reliably split the field to make sure we're not treating instructionSet as memory or visa versa. It looks like "unknown" will currently take the place if anything goes wrong finding either of them?
Depends on: 1367054
Flags: needinfo?(bhearsum)
Assignee | ||
Updated•8 years ago
|
Attachment #8870216 -
Flags: review?(mhowell)
Assignee | ||
Comment 4•8 years ago
|
||
I'm fine with using a comma as a delimiter. I don't think we'll ever end up with a value that contains commas for %SYSTEM_CAPABILITIES% and if we do we'll just replace it.
Assignee | ||
Comment 5•8 years ago
|
||
Ben, will this cause a problem if it is landed for Firefox 55?
Attachment #8870216 -
Attachment is obsolete: true
Attachment #8870495 -
Flags: feedback?(bhearsum)
Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #5)
> Created attachment 8870495 [details] [diff] [review]
> patch rev2
>
> Ben, will this cause a problem if it is landed for Firefox 55?
I think you can ignore both of those fields since clients have them have a compatible CPU instruction set and memory shouldn't be used at this time.
Comment 7•8 years ago
|
||
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #6)
> (In reply to Robert Strong [:rstrong] (use needinfo to contact me) from
> comment #5)
> > Created attachment 8870495 [details] [diff] [review]
> > patch rev2
> >
> > Ben, will this cause a problem if it is landed for Firefox 55?
> I think you can ignore both of those fields since clients have them have a
> compatible CPU instruction set and memory shouldn't be used at this time.
Good point. I just finished testing though, and the current code copes with commas correctly - we can do multiple matches (SSE3 && 4096) already. If we want to do < or > matching on the memory portion we'll need bug 1367054.
Assignee | ||
Comment 8•8 years ago
|
||
Comment on attachment 8870495 [details] [diff] [review]
patch rev2
Pushed to try
https://treeherder.mozilla.org/#/jobs?repo=try&revision=555165e382febd27f161f4441944c26d8eb5ee8d
Attachment #8870495 -
Flags: feedback?(bhearsum)
Assignee | ||
Comment 9•8 years ago
|
||
(In reply to Ben Hearsum (:bhearsum) from comment #7)
> (In reply to Robert Strong [:rstrong] (use needinfo to contact me) from
> comment #6)
> > (In reply to Robert Strong [:rstrong] (use needinfo to contact me) from
> > comment #5)
> > > Created attachment 8870495 [details] [diff] [review]
> > > patch rev2
> > >
> > > Ben, will this cause a problem if it is landed for Firefox 55?
> > I think you can ignore both of those fields since clients have them have a
> > compatible CPU instruction set and memory shouldn't be used at this time.
>
> Good point. I just finished testing though, and the current code copes with
> commas correctly - we can do multiple matches (SSE3 && 4096) already. If we
> want to do < or > matching on the memory portion we'll need bug 1367054.
I'm certain this will need to determine if memory is equal to or greater than 4096 so bug 1367054 will be necessary.
Assignee | ||
Comment 10•8 years ago
|
||
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #8)
> Comment on attachment 8870495 [details] [diff] [review]
> patch rev2
>
> Pushed to try
> https://treeherder.mozilla.org/#/
> jobs?repo=try&revision=555165e382febd27f161f4441944c26d8eb5ee8d
Since Mac opt is having trouble I pushed again for just Mac debug
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6e7cad2212dfe5407ee3a43be0e096ab7976247b
Assignee | ||
Comment 11•8 years ago
|
||
Comment on attachment 8870495 [details] [diff] [review]
patch rev2
The first try push passed and I verified that the build farm is having problems building mac opt. I expect that the second try push for mac debug will pass so I'm requesting review. I also checked with bhearsum regarding whether this is ok to land as soon as this is r+'d and he is fine with it.
Attachment #8870495 -
Flags: review?(mhowell)
Updated•8 years ago
|
Attachment #8870495 -
Flags: review?(mhowell) → review+
Comment 12•8 years ago
|
||
Pushed by rstrong@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a936e628dbb3
Include the system's RAM in the %SYSTEM_CAPABILITIES% value of the update URL. r=mhowell
Comment 13•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Comment 14•8 years ago
|
||
QE Verified as Fixed.
Here are test cases and runs: https://public.etherpad-mozilla.org/p/1366917
Needinfo me if you have questions or feedback.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•