Skip to content

Test that Update Kit accepts exactly the installer's components #520

Done

Description

@XelHaku

Outcome

A test fails when skills/update-kit/scripts/update_kit.py COMPONENTS and scripts/install_menu.py ITEM_KEYS list different components, so a new installer item cannot again be refused by /update-kit --only or --skip (as happened with ladybird in #390).

Scope

  • tests/test_update_kit.py: add one test that loads scripts/install_menu.py with importlib.util.spec_from_file_location, as the file already loads the updater (~lines 18-22), and asserts updater.COMPONENTS == set(install_menu.ITEM_KEYS), with a failure message naming the missing and extra keys.
  • Order: this issue and the final-receipt issue both edit tests/test_update_kit.py in different places; that is a scheduling note, not a dependency.

Exclusions

  • Do not make update_kit.py import install_menu at run time: the helper must keep running from a plugin cache without the installer module on its path.
  • No change to either component list unless the new test shows a real difference.

Acceptance

  • The new test passes on the current tree.
  • Removing ladybird from COMPONENTS in a scratch edit makes the test fail with a message naming ladybird (worker checks this locally and reverts).

Verification

  • python3 -B -m pytest -q -p no:cacheprovider tests/test_update_kit.py passes.

Sources

  • Baseline on 360b0ce6: update_kit.COMPONENTS == set(install_menu.ITEM_KEYS) evaluates True (run read-only by planning).
  • Prior drift: closed issue update-kit refuses the ladybird component #390 (update-kit refused the ladybird component).

Activity

  1. added
    ai-planning
    ai-ready
    ai-in-progress
    and removed
    ai-planning
    ai-ready
    on Dec 3, 2026
  2. XelHaku commented on Dec 3, 2026

    @XelHaku
    CollaboratorAuthor

    Orbi started Pi: run_id=dff9f74b priority=normal
    #520 Test that Update Kit accepts exactly the installer's components

    • base_branch: main
    • run_id=dff9f74b
    • priority: normal
    Run details
    • base_sha: cc212c6
    • branch: orbi/TrebuchetDynamics-kit-issue-520
  3. XelHaku commented on Dec 3, 2026

    @XelHaku
    CollaboratorAuthor

    Orbi delivered

    PR #523 merged (merge_commit=ee63dd19ed3dea77081a86827e89e2f61e0c5e6d review_rounds=1)

    Orbi progress

    #520 Test that Update Kit accepts exactly the installer's components

    Run details
    • run_id=dff9f74b
    • priority: normal
    • phase: read
    • elapsed: 39s
    • branch: orbi/TrebuchetDynamics-kit-issue-520
    • session: 01a23d1b-ebe8-72c8-8d03-b1778d9d3d65
  4. XelHaku commented on Dec 3, 2026

    @XelHaku
    CollaboratorAuthor

    Orbi: plan ready

    • run_id=dff9f74b
  5. added
    ai-pr-opened
    and removed
    ai-in-progress
    on Dec 3, 2026
  6. XelHaku commented on Dec 3, 2026

    @XelHaku
    CollaboratorAuthor

    Orbi opened PR: #523
    #520 Test that Update Kit accepts exactly the installer's components

    • base_branch: main
    • run_id=dff9f74b
    • priority: normal
    Run details
  7. XelHaku commented on Dec 3, 2026

    @XelHaku
    CollaboratorAuthor

    Orbi: merged

    Run details
  8. added
    ai-merged
    and removed
    ai-pr-opened
    on Dec 3, 2026
  9. XelHaku commented on Dec 3, 2026

    @XelHaku
    CollaboratorAuthor

    Orbi merged PR: #523
    #520 Test that Update Kit accepts exactly the installer's components

    • review: pass, no findings
    • merged into: main
    Run details
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

    ai-merged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions