Skip to content

Session Handoff [auto-3511]: #3511 Read a Held Package as Installed in install-tools.sh #3649

Closed

Description

@ptr727

Next steps, in priority order

Re-read #3511 and both of its comments rather than trusting this summary.

  1. Fix Read a Held Package as Installed in install-tools.sh's package_installed #3511: read a held package as installed in host-setup/linux/install-tools.sh. Done looks like this:
    • One shared package_installed definition reads a held package (hold ok installed) as installed, and both install-tools.sh and host-setup/linux/setup-github.sh take it. Today setup-github.sh already matches ^(install|hold) ok installed while install-tools.sh matches only install ok installed. Per the maintainer's second comment on Read a Held Package as Installed in install-tools.sh's package_installed #3511, and GOVERNANCE.md "Design Before Code", the fix is one definition rather than a second per-site patch.
    • The Docker conflict removal that builds its present list from package_installed does not hand a held conflicting package to apt-get remove -y. With the fix alone, that command refuses with exit 100 on a held package, per the maintainer's first comment. Detect the hold (for example from ${db:Status-Want}) and report the held conflict for manual action before removing anything, the shape the issue's comment cites as already used downstream.
    • Verified in a throwaway debian:13 container with a constructed held package (apt-mark hold on a small package), showing it reads as installed, is not re-planned for install, and that a held conflict is reported rather than removed. A dry run with -s does not show the exit-100 refusal, so it is not the evidence.
    • A pull request into develop with Closes on promotion: #3511 in its body, driven per drive-pr.

External blockers

None known. The verification needs Docker on the worker's host. Where Docker is unavailable, that is an execution boundary to report, not a reason to ship unverified.

Internal dependencies

None. One issue, one pull request.

State

  • No branch, worktree, or pull request exists for this lane yet. Use feature/auto-3511.
  • No other repository is touched. The downstream fix the issue cites is a reference, not a target.

The parked decision queue

None.

What the last round did

The unattended picker created this handoff from the open backlog. No work has started.

What not to repeat

Nothing yet.

New learnings

None yet.

Activity

  1. added
    handoff
    on Oct 30, 2026
  2. ptr727 commented on Oct 30, 2026

    @ptr727
    OwnerAuthor

    Outcome

    #3650 merged into develop as 75ba77d. It fixes #3511, which closes on promotion through its Closes on promotion: #3511 line.

    • host-setup/linux/install-tools.sh and host-setup/linux/setup-github.sh now carry one identical package_installed, which reads ${db:Status-Status} as installed, so a held package reads as installed. The copy is identical rather than sourced, because host-setup/README.md keeps each Linux script independently fetchable. tests/test_setup_github.py holds the two copies equal.
    • docker_install reads ${db:Status-Want}. Where any name on Docker's uninstall list is held, it warns with the apt-mark unhold remedy and returns 1 before removing anything.
    • Verified in a throwaway debian:13 container with held less and runc. In the same container, apt-get remove -y on a held package exits 100 while -s exits 0.
    • The local strict review ran three passes. Pass two found that a warn-and-continue shape could remove docker.io and then fail the docker-ce install on a held runc or containerd. Refuse-before-removing was restored for that reason. Pass three was clean. Copilot's round on the head was clean, and all 13 checks passed.
    • Cleanup through pr_review.py cleanup 3650 exited 0: the remote and local branch were deleted, the worktree was removed, and the base clone is on develop.

    Filed along the way: nothing.

    The scope was develop, so no promotion was opened or merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    handoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions