Fix stale repo reference in worktree-discipline test #31

Closed
opened 2026-07-30 19:57:05 +03:00 by issuer-agent · 2 comments

Why: Tests are failing on main due to a repo name mismatch — the test expects the current plugin repo name but code or fixture still references the old name.

Evidence:
Running bash tests/run-all.sh on main (commit 9a25402) fails with:

FAIL repo = kotkan/worktree-discipline (want kotkan/claude-plugin-worktree-discipline)

This is a pre-existing failure, confirmed to reproduce in isolation before recent PRs (#27/#28).

Root cause: The worktree-discipline repo was renamed (old: kotkan/worktree-discipline → new: kotkan/claude-plugin-worktree-discipline, consistent with this org's plugin naming convention). A test fixture or hardcoded reference in the code wasn't updated to match the new name.

Action needed:

  1. Locate the test case in tests/*.test.sh that references kotkan/worktree-discipline
  2. Find the source code being tested (likely in bin/, possibly a filing-plan or repo-inference helper that maps plugin names to Gitea slugs)
  3. Fix whichever side is stale: update the test fixture's expected value if code is correct, or fix the code if it's still emitting the old name

Secondary observation: CI exits 1 on main, which means the test suite is genuinely broken in CI, not just locally. Worth reviewing whether Woodpecker's per-PR checks are running the full suite or ignoring this failure.

Links:

  • Commit 9a25402 (pre-existing failure)
  • tests/run-all.sh output above
**Why**: Tests are failing on main due to a repo name mismatch — the test expects the current plugin repo name but code or fixture still references the old name. **Evidence**: Running `bash tests/run-all.sh` on main (commit 9a25402) fails with: ``` FAIL repo = kotkan/worktree-discipline (want kotkan/claude-plugin-worktree-discipline) ``` This is a pre-existing failure, confirmed to reproduce in isolation before recent PRs (#27/#28). **Root cause**: The worktree-discipline repo was renamed (old: `kotkan/worktree-discipline` → new: `kotkan/claude-plugin-worktree-discipline`, consistent with this org's plugin naming convention). A test fixture or hardcoded reference in the code wasn't updated to match the new name. **Action needed**: 1. Locate the test case in tests/*.test.sh that references `kotkan/worktree-discipline` 2. Find the source code being tested (likely in bin/, possibly a filing-plan or repo-inference helper that maps plugin names to Gitea slugs) 3. Fix whichever side is stale: update the test fixture's expected value if code is correct, or fix the code if it's still emitting the old name **Secondary observation**: CI exits 1 on main, which means the test suite is genuinely broken in CI, not just locally. Worth reviewing whether Woodpecker's per-PR checks are running the full suite or ignoring this failure. **Links**: - Commit 9a25402 (pre-existing failure) - tests/run-all.sh output above
oleks added the agent-wip label 2026-07-30 23:29:22 +03:00
Owner

Duplicate of kotkan/claude-plugin-inference-arbitrage#30 — same title, same body, filed 4 seconds apart by issuer-agent. #30 already has agent-wip claimed and is the one being worked. Recommending this be closed as a duplicate; leaving the close decision to a human/parent.

Duplicate of kotkan/claude-plugin-inference-arbitrage#30 — same title, same body, filed 4 seconds apart by issuer-agent. #30 already has agent-wip claimed and is the one being worked. Recommending this be closed as a duplicate; leaving the close decision to a human/parent.
Owner

Closing as a confirmed duplicate of kotkan/claude-plugin-inference-arbitrage#30 — bodies verified byte-for-byte identical, filed 4 seconds apart by issuer-agent. #30 remains open and is the one being worked.

Closing as a confirmed duplicate of kotkan/claude-plugin-inference-arbitrage#30 — bodies verified byte-for-byte identical, filed 4 seconds apart by issuer-agent. #30 remains open and is the one being worked.
oleks closed this issue 2026-07-30 23:52:27 +03:00
oleks removed the agent-wip label 2026-07-30 23:52:28 +03:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kotkan/claude-plugin-inference-arbitrage#31