Skip to content

Control-plane tests fail on main when scenario Goals lack canonical authority #7433

Open

Description

@hhyykk

On main at aec2a1b, 144 of the 247 tests in 13 files under tests/control_plane/ fail. The scenario Goals in these tests have no canonical authority. The failures are CanonicalAuthorityRequired errors plus assertion and type errors.

Failures by error type (13 files, base aec2a1b): CanonicalAuthorityRequired 53, AssertionError 81, TypeError 9, AttributeError 1, other 0 (144 total).

A pull request with a test-only fix will reference this issue. The fix initializes canonical authority through the reviewed cold-import CLI path. The 23 contrast cases in test_actual_default_model_behavior_portfolio.py are marked strict xfail and cite #7403. That issue tracks a harness defect in loopx/control_plane/testing, which the fix does not change.

Activity

  1. LIHUA919 commented on Oct 30, 2026

    @LIHUA919
    Contributor

    Current-source reproduction update on an isolated, clean main checkout at 225698b313f3bcd5c967220013b4a2254c586792:

    python -m pytest -q tests/control_plane/test_actual_default_model_behavior_portfolio.py tests/test_quota_bound_wait_recovery.py
    54 passed in 129.56s
    

    That is all 50 current portfolio tests, without xfail/skip, plus all four original bound-wait cases from #7435. The selected_work_vs_required_vision_replan source-relation failure from #7403 no longer reproduces through this complete portfolio module on this source.

    Main includes the fixture/contract reconciliation in #7459 and the later complete-context qualification repair 98ca82923. This observation does not choose or impose an older proposed source repair over the current contract.

    Scope: this reruns the portfolio module and the separately reported wait recovery, not all 13 modules / 247 historical cases in this issue. I am therefore recording a verified reduction of the original failure set, not claiming complete closure of #7433 or broader model/installed-host qualification. A preliminary run overlapping source preparation encountered a runtime-startup failure and is excluded from this clean, fixed-source result.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions