Skip to content

feat(uupd): match Dakota's uupd element - #1251

Closed
hanthor wants to merge 1 commit into
feat/dakota-system-tweaksfrom
feat/uupd-dakota
Closed

hanthor wants to merge 1 commit into
feat/dakota-system-tweaksfrom
feat/uupd-dakota

Conversation

@hanthor

@hanthor hanthor commented Nov 16, 2026

Copy link
Copy Markdown
Member

Part 4/7 of the Dakota parity stack (epic #1236). Base: feat/dakota-system-tweaks; review and merge in order.

Dakota (projectbluefin/dakota@testing, elements/bluefin/uupd.bst) installs
uupd v1.5.5 and ships uupd-manual.service, a polkit rule letting users start
uupd.service and uupd-manual.service, and /etc/uupd/config.json with the
hardware checks enabled. Utah pinned v1.4.0 and had none of the three.

  • Containerfile: UUPD_VERSION v1.5.5 with the new x86_64 tarball digest
    (matches Dakota's ref and the release's checksums.txt). The raw
    uupd.service and uupd.timer at v1.5.5 are byte-identical to v1.4.0, so
    their digests stay. Dakota writes those units inline, but they equal
    upstream's plus --disable-module-distrobox, which configure-services.sh
    already adds, so Utah keeps downloading them.
  • system_files: Dakota's uupd-manual.service, /etc/polkit-1/rules.d/uupd.rules
    and /etc/uupd/config.json (identical to upstream v1.5.5). The config
    overrides Common's distrobox-only /etc/uupd/config.json, and the
    downloaded uupd.timer (daily 04:00) replaces Common's four-a-day timer.
    Dakota resolves the same overlap the same way: BuildStream orders the
    stack's unrelated deps by name, so bluefin/uupd.bst stages after
    bluefin/common.bst and wins.
  • contracts/bluefin-desktop.toml requires the uupd files and pins the
    timer schedule, service flag and hardware-check config; a test covers it.
  • baselines: the uupd waiver no longer claims uupd-manual.service is missing
    from Utah's sources; GAP.md regenerated.
  • docs/skills: containerfile and desktop-contract describe the Dakota pin.

Verified: just check passes at the stack tip (1,329 tests). An image build hasn't run yet.

Dakota (projectbluefin/dakota@testing, elements/bluefin/uupd.bst) installs
uupd v1.5.5 and ships uupd-manual.service, a polkit rule letting users start
uupd.service and uupd-manual.service, and /etc/uupd/config.json with the
hardware checks enabled. Utah pinned v1.4.0 and had none of the three.

- Containerfile: UUPD_VERSION v1.5.5 with the new x86_64 tarball digest
  (matches Dakota's ref and the release's checksums.txt). The raw
  uupd.service and uupd.timer at v1.5.5 are byte-identical to v1.4.0, so
  their digests stay. Dakota writes those units inline, but they equal
  upstream's plus --disable-module-distrobox, which configure-services.sh
  already adds, so Utah keeps downloading them.
- system_files: Dakota's uupd-manual.service, /etc/polkit-1/rules.d/uupd.rules
  and /etc/uupd/config.json (identical to upstream v1.5.5). The config
  overrides Common's distrobox-only /etc/uupd/config.json, and the
  downloaded uupd.timer (daily 04:00) replaces Common's four-a-day timer.
  Dakota resolves the same overlap the same way: BuildStream orders the
  stack's unrelated deps by name, so bluefin/uupd.bst stages after
  bluefin/common.bst and wins.
- contracts/bluefin-desktop.toml requires the uupd files and pins the
  timer schedule, service flag and hardware-check config; a test covers it.
- baselines: the uupd waiver no longer claims uupd-manual.service is missing
  from Utah's sources; GAP.md regenerated.
- docs/skills: containerfile and desktop-contract describe the Dakota pin.

Assisted-by: Claude Opus via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danathar, hanthor

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hanthor hanthor mentioned this pull request Nov 16, 2026
1 of 30 tasks
@hivecommons-hive hivecommons-hive Bot added author/clanker A contributor's own hive authored this PR under their login no-dco A commit is missing Signed-off-by — run `git rebase --signoff` role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 16, 2026
@hivecommons-hive

hivecommons-hive Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Withdrawn: this PR is not back in your court after all. The failing checks (contract) are red on the base branch too; this change did not break them. There is nothing to fix here: the PR is back on the normal path, and the hive checks it again once the base branch is green.

@Danathar Danathar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stand-in review (the hive's reviewers are out of quota). Approving. This is a faithful port of Dakota's elements/bluefin/uupd.bst.

Checked:

  • UUPD_SHA256 (d8d420a1…) equals the x86_64 line in v1.5.5's uupd_1.5.5_checksums.txt and Dakota's ref.
  • The raw uupd.service and uupd.timer hash the same at v1.4.0 and v1.5.5, so keeping those digests is right.
  • uupd-manual.service, uupd.rules and config.json match Dakota line for line. The --disable-module-distrobox edit produces Dakota's exact ExecStart.
  • The contract and the new test pin the shipped files.

For the release notes:

  • Update hardware checks are now on by default. Updates wait below 20% battery or under heavy CPU, memory or network load.
  • Updates run once a day at 04:00, with up to 15 minutes of random delay, instead of Common's four times a day.
  • A polkit rule now lets any local user start uupd.service and uupd-manual.service without a password. This matches Dakota, but it's a policy change worth stating.

Blocked only on the stack-wide contract failure from #1243.

@hivecommons-hive hivecommons-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act labels Nov 16, 2026
@Danathar

Copy link
Copy Markdown
Contributor

Small correction to my review's release-note line. uupd.rules returns polkit.Result.YES for org.freedesktop.systemd1.manage-units on uupd.service and uupd-manual.service with no subject.local, subject.active or group check. So it isn't only "local users": any subject can start, stop or restart those two units without a password, remote and inactive sessions included. That's the same as Dakota's rule, so it's still fine for parity, but the release note (and ideally a comment in the rule) should say it plainly.

@hanthor

hanthor commented Nov 16, 2026

Copy link
Copy Markdown
Member Author

Folded into #1248, which carries this change unchanged in one rebased series so the stack lands in a single CI cycle. Closing here; review continues on #1248.

@hanthor hanthor closed this Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. author/clanker A contributor's own hive authored this PR under their login no-dco A commit is missing Signed-off-by — run `git rebase --signoff` role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants