Skip to content

[Bug]: urlcode upgrade does not write addon-files.lock.json, so extensions list --strict fails after a successful upgrade #1131

Closed

Description

@jimhoyd

Runtime revision and environment

Upgrading a site to 0.6.6. Reported by the owner; an agent will reproduce it against origin/main before fixing.

Minimal reproduction

  1. urlcode upgrade reports success, but addon-files.lock.json is not written or updated.
  2. urlcode extensions list --strict then exits 1.
  3. The suggested remedy, urlcode extensions add mcp, does repair the record, but its output says "nothing to do".

Expected: upgrade leaves a site whose extensions list --strict passes. That means writing or refreshing the installed-file record for every add-on it installs or keeps, or failing loudly when it can't. The repair command should also report what it actually changed.

Relevant output

Any site that runs extensions list --strict in CI goes red on its first upgrade to 0.6.6.


Generated by Claude Code

Activity

  1. added
    bug
    on Oct 1, 2026
  2. jimhoyd commented on Oct 1, 2026

    @jimhoyd
    CollaboratorAuthor

    Taking this: Issues [37f079]

  3. added
    in-progress
    on Oct 1, 2026
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

    bugin-progress

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions