Run the live-prototype restart test 20 consecutive times after the port-wait change

Open
#19,047 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
testing

Research direction

After the #18551 change reaches main, work from plugins/planning/shared/tests/ and run python3 -m pytest -q -k test_a_restart_keeps_a_running_live_prototype --count=20 on a host, or use a 20-pass loop. Record the exact command, commit and result on this issue; done means 20 consecutive passes on a commit containing the port-wait change.

Written by the indexing model from the issue text.

Description

host-run session-owned

Context

Split from #18551, done-when item 3, by owner decision. test_a_restart_keeps_a_running_live_prototype (plugins/planning/shared/tests/test_share.py) failed in CI with Address already in use because cmd_restart rebinds the kept ports before the stopped server releases them. #18551 adds a bounded wait for the ports. A repeated local run is what shows the flake is gone, and an unattended lane run cannot do it, so it sits in the host queue. Left undone, the fix stays unconfirmed against the intermittent failure.

Proposed work

  1. Wait until the #18551 change is on main.
  2. On a host, run python3 -m pytest -q -k test_a_restart_keeps_a_running_live_prototype --count=20 (or a 20-pass loop) from plugins/planning/shared/tests/.
  3. Record the command, the commit and the result on this issue.

Acceptance criteria

  • test_a_restart_keeps_a_running_live_prototype passes 20 consecutive runs locally on a commit that includes the #18551 change.
  • The command, the commit and the pass count are recorded on this issue.

References

Dominant language
Shell
Stars
22
Forks
2
Avg merge
2h
Merged PRs (30d)
960

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from melodic-software/claude-code-plugins

All issues in melodic-software/claude-code-plugins

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.