Skip to content

Let carry.py Carry a Repository Whose Registry Entry Is Only on Develop #4085

Closed

Description

@ptr727

Problem

STANDUP.md step 2 carries the baseline with scripts/carry.py. That step cannot run for a repository whose registry entry has merged into develop but not yet reached main, and that is the normal state during a standup.

  • carry.py refuses a hub checkout that is not at origin/main (verify_hub, added in Add Manifest-Driven Verbatim Tree Propagation #804).
  • It also requires the target's entry in that checkout's registry (resolve_repo).
  • So the carry fails from a main checkout, which lacks the entry, and also from a develop checkout, which verify_hub refuses.

#4082 made configure.sh and the audit run from a develop checkout for exactly this window. GOVERNANCE.md "Hub-Hosted Tooling" now names that develop case. CodeRabbit raised this gap on promotion #4083. It is pre-existing since #804, and is not introduced by #4082.

Options

  1. Let carry.py read develop for an unpromoted entry (recommended). Mirror Refuse a configure.sh Apply for an Unregistered Repository and Name the Develop Checkout for an Unpromoted Entry #4082: when the target has no entry on main but has one on develop, verify_hub accepts a checkout at origin/develop. Every other run stays on main. It keeps one rule across all three tools, and the standup stays one session.
  2. Promote the entry before step 2. STANDUP.md has the registry entry reach main through a hub promotion before any carry. This changes no tool, but every standup waits on an unrelated hub promotion, the circular wait Let configure.sh Configure a Repository Whose Registry Entry Is Not on Main Yet #4061 removed for configure.sh.

Done when

A standup can run step 2 with no hub promotion between steps 1 and 2, and STANDUP.md, GOVERNANCE.md "Hub-Hosted Tooling", and carry.py agree.

Activity

  1. added
    decision
    pre-existing
    on Nov 11, 2026
  2. ptr727 commented on Nov 11, 2026

    @ptr727
    OwnerAuthor

    Answered by the maintainer, 2026-11-11: option 1. carry.py accepts a hub checkout at origin/develop when the target has no registry entry on main but has one on develop, as configure.sh and the audit do since #4082. Every other run stays on main. This is now work.

  3. removed
    decision
    on Nov 11, 2026
  4. ptr727 commented on Nov 15, 2026

    @ptr727
    OwnerAuthor

    Done by #4125, which implemented option 1: verify_hub accepts a hub checkout at origin/develop for a target registered on develop only, and refuses it for one main already registers. STANDUP.md step 2, GOVERNANCE.md "Hub-Hosted Tooling" and scripts/README.md were updated in the same PR. It is on main (first shipped in 2.0.1461). #4125 said "Addresses" with no closing line, so this stayed open.

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

    pre-existing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions