Skip to content

test: skip broken test which asks for ssh key #9641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ChALkeR
Copy link
Contributor

@ChALkeR ChALkeR commented Jun 13, 2025

The assumption in this test looks either invalid or broken (impl detail changed? how was this supposed to behave?)

When running this test on main, it asks me for a password to my ssh key, github username, and github password

It passes if I just provide none of that and press enter three times

It hangs if I don't react

Given that, I treat this test as being broken
It could likely be fixed though? But having a broken test non-skipped looks more problematic

@ChALkeR ChALkeR requested a review from zkochan as a code owner June 13, 2025 22:42
@ChALkeR
Copy link
Contributor Author

ChALkeR commented Jun 13, 2025

I just re-checked

ls-remote is called during it, from this code:

async function accessRepository (repository: string): Promise<boolean> {
try {
await git(['ls-remote', '--exit-code', repository, 'HEAD'], { retries: 0 })
return true
} catch {
return false
}
}

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