Skip to content

fix(tests): align RepoManagementScriptsTest with batched gh repo list#60

Merged
markshust merged 1 commit into
developfrom
feature/fix-repo-mgmt-test
May 12, 2026
Merged

fix(tests): align RepoManagementScriptsTest with batched gh repo list#60
markshust merged 1 commit into
developfrom
feature/fix-repo-mgmt-test

Conversation

@markshust
Copy link
Copy Markdown
Collaborator

Summary

  • PR chore(release): batch split-repo lookup and auto-create from release.sh #56 (the split-repo batching optimization) replaced per-package gh repo view calls in bin/create-split-repos.sh with a single batched gh repo list lookup and a silent skip path
  • RepoManagementScriptsTest::it('skips repos that already exist without erroring') still asserted the old literal strings (gh repo view, already exists, skipping) and has been failing on develop since
  • Update those assertions to check the current wording (gh repo list, Already exists)
  • Also normalize two pre-existing RequireMultiLineCall lint violations in the same file (per the "fix all lint in touched files" policy)

Test plan

  • composer test — 4895 passed, 0 failed
  • ./vendor/bin/phpcs tests/RepoManagementScriptsTest.php — clean
  • Targeted run of the previously failing test passes

🤖 Generated with Claude Code

The split-repo optimization in #56 replaced per-package `gh repo view`
calls with a single batched `gh repo list` lookup and silent skip path.
The assertions in `it('skips repos that already exist without erroring')`
were still checking for the old literal strings (`gh repo view`, `already
exists, skipping`) and failing on develop.

Update assertions to match the current script wording. Also normalize
two pre-existing multiline-call lint violations in the same file.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the bug Something isn't working label May 12, 2026
@markshust markshust merged commit 2e1458b into develop May 12, 2026
1 check passed
@markshust markshust deleted the feature/fix-repo-mgmt-test branch May 12, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant