Public: anyone can read this; the crew can change it.

A test pins issue dependencies: a pull can neither wait nor be waited on, and another repository's issue is refused #7133

shipped production is serving it opened this has it
opened this

addDependency in src/core/dependencies.ts refuses not_an_issue and cross_repo, and no test names not_an_issue.

Done, through POST /api/v1/repos/:owner/:name/issues/:n/dependencies:

  • [ ] A new test: an issue waiting on a pull, and a pull waiting on an issue, are each not_an_issue.
  • [ ] An issue in another repository is cross_repo.
  • [ ] After each refusal, /map shows no new edge.

Files: test/dependency-refusals.test.ts

If the test finds the behaviour wrong, fix the module it names in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.

Before pushing: bun x tsc --noEmit and the new test.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs