Skip to content

Normalize project cancellation paths#192

Open
ag-linden wants to merge 1 commit into
unohee:mainfrom
ag-linden:fix/project-cancel-path-normalization
Open

Normalize project cancellation paths#192
ag-linden wants to merge 1 commit into
unohee:mainfrom
ag-linden:fix/project-cancel-path-normalization

Conversation

@ag-linden

Copy link
Copy Markdown
Contributor

Summary

Follow-up to the optional note on #182.

This makes project cancellation path matching tolerant of equivalent path representations before applying the exact-or-descendant boundary check.

Changes:

  • expand ~ in scheduler cancellation paths
  • resolve relative paths before comparison
  • keep the existing slash normalization and trailing-slash trimming
  • add regression coverage for home-expanded and relative disable paths

Related issue

Follow-up to #182.

Type of change

  • Bug fix
  • New feature
  • Refactor / chore
  • Docs

Validation

  • npm test -- src/orchestration/taskScheduler.cancel.test.ts
  • npm test -- src/orchestration/taskScheduler.cancel.test.ts src/orchestration/taskScheduler.concurrency.test.ts
  • npm run lint
  • npm run typecheck
  • npm run build
  • npm test passes

Local full npm test still has unrelated environment/timing failures outside this scheduler change. The autonomous runner files passed when reproduced standalone; src/tui/components/AuditBoard.test.tsx still fails locally on the errored-area tally expectation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant