Skip to content

main red since #44935: test_autonudge_shutdown_terminal_reprobe::test_MUTATION_a_failed_holds_settlement_write_keeps_memory_store_and_restart_agreed fails on Linux and Windows #45095

Duplicate

Description

@winnythedev

Existing issues

  • I searched open issues and this is not already reported.

Failing run

https://github.com/kirodotdev/KiroCrew/actions/runs/46485804677 (main, ec12d79877)

Test or job

test/test_autonudge_shutdown_terminal_reprobe.py::test_MUTATION_a_failed_holds_settlement_write_keeps_memory_store_and_restart_agreed

Commit

ec12d79877 on main (first red), also 04ff1f1cbd on main; and on PRs #45015 (Backend Tests (3.12, 7)) and #45052 (Backend Tests (Windows) (6)) after they rebased onto current main.

How it fails

Red every time on this commit

Runner OS

Several

First bad commit

006b84831f fix: tighten a loop store check (#44935), merged 2026-11-30 18:14Z. The previous main run (b927a43e9a, 18:05Z) does not have this failure; the next one (ec12d79877, 18:34Z) does, and #44935 is the only commit in that range touching autonudge_service/.

Error output

_ test_MUTATION_a_failed_holds_settlement_write_keeps_memory_store_and_restart_agreed _
                raise OSError("store unavailable")
E               AssertionError: assert False is True
test/test_autonudge_shutdown_terminal_reprobe.py:808: AssertionError
    raise OSError("store unavailable")
OSError: store unavailable
FAILED test/test_autonudge_shutdown_terminal_reprobe.py::test_MUTATION_a_failed_holds_settlement_write_keeps_memory_store_and_restart_agreed - AssertionError: assert False is True

Line 808 is assert restored.active is True: after the settlement write fails with OSError("store unavailable") and the service restarts, the restored loop is no longer active.

Anything else

  • Same failure on Linux (3.12 shard 7) and Windows (shard 6), initial run and retry, so not a timing flake.
  • fix: tighten a loop store check #44935 changed autonudge_service/store.py, store_loader.py, model.py and mutations.py and updated several test_autonudge_* files, but not test_autonudge_shutdown_terminal_reprobe.py. The tightened store check most likely now rejects the row this test writes with the simulated failed settlement, so the restart no longer restores it as active. Either the test's fixture row needs the new field the check wants, or the check should keep a loop whose settlement write failed.
  • Every fork PR rebased onto main after 18:14Z fails this shard, and Coverage Gate fails closed behind it, so PR Readiness stays red on otherwise green PRs (fix: read a machine-named Crew owner as Crew owner on every surface #45015, fix: name why a requested screenshot was dropped #45052 today).

Activity

  1. bolichen97 commented on Nov 30, 2026

    @bolichen97
    Contributor

    [operator: bolichen97] Same failing test and same first bad commit (#44935); the fix is open in #45073. This is the same report as #45072, so we track it there and close this one.

  2. added
    tier:T1
    P2
    on Dec 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

    P2tier:T1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions