Update agent - Incorporate agent into build
Categories
(Toolkit :: Application Update, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: agashlin, Assigned: agashlin)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
The update agent is a standalone binary written in Rust, which needs to be (conditionally) integrated into mozilla-central and the Mozilla build system. This also involves: - vendoring additional crates if needed - adding to install - signing the exe
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
This is a work-in-progress skeleton of the update agent binary.
It is able to:
- Register itself with the Windows Task Scheduler,
with the "install-self" or "install-self-local-service" commands.
The task will have a single action, executing the current binary
with argument "task-action", followed by any arguments given
on the command line.
The task will have a single trigger for testing, which will
run the task once 2 minutes after the install. It can also be run
on demand.
Any pre-existing task with the same name will be removed before
registering the new task. - Uninstall a task ("uninstall" command)
- Run a task on demand ("run-on-demand" command)
- be run by the task scheduler (recognized by the "task-action"
command line argument). Currently this writes its arguments to
C:\ProgramData\task_test.txt for testing.
Depends on D35506
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 3•2 years ago
|
||
Depends on D35506
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by agashlin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0c6771b60b76 Part 1 - Update agent scheduled task r=mhowell,bytesized,nalexander https://hg.mozilla.org/integration/autoland/rev/779bc1fa07ae Part 2 - Build update agent in-tree r=firefox-build-system-reviewers,mhowell,rstewart https://hg.mozilla.org/integration/autoland/rev/85ea1d36da66 Part 3 - Install, uninstall update agent r=mhowell
Backout by malexandru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/701e5c7f10df Backed out 3 changesets for causing sm failures in components/updateagent/Cargo.toml
Comment 7•1 year ago
|
||
Backed out 3 changesets for causing sm failures in components/updateagent/Cargo.toml
Backout link: https://hg.mozilla.org/integration/autoland/rev/701e5c7f10dfd25b87cca88c34f74bf20c8e9059
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=292725783&repo=autoland&lineNumber=87257
| Assignee | ||
Comment 8•1 year ago
|
||
The error occurs because the JS build process explicitly filters out members it doesn't include from the workspace. This seems error-prone, as it requires any addition to the workspace to be mirrored here.
I'll add updateagent to the filter for now, and file a bug to avoid issues like this in the future.
Pushed by agashlin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6bad3e6127dd Part 1 - Update agent scheduled task r=mhowell,bytesized,nalexander https://hg.mozilla.org/integration/autoland/rev/55cf52540f25 Part 2 - Build update agent in-tree r=firefox-build-system-reviewers,mhowell,rstewart https://hg.mozilla.org/integration/autoland/rev/5798fa64366b Part 3 - Install, uninstall update agent r=mhowell
Comment 10•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6bad3e6127dd
https://hg.mozilla.org/mozilla-central/rev/55cf52540f25
https://hg.mozilla.org/mozilla-central/rev/5798fa64366b
Description
•