Skip to content
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

fix(telnet-host/tests): Use existing binaries #397

Merged
merged 2 commits into from
Mar 6, 2025

Conversation

abesto
Copy link
Collaborator

@abesto abesto commented Mar 6, 2025

These integration tests are frequently slow. One guess for why is: we (re)build the binaries under test as part of the test (not as part of the build).

This PR eliminates one of the builds always cleanly, and eliminates the other most of the time with a horrible hack (see code comments).

abesto added 2 commits March 6, 2025 15:33
Cargo already builds the binary target in the same crate, and exposes
its path as a compile-time env var. Use it instead of rebuilding via
`escargot`.
@abesto
Copy link
Collaborator Author

abesto commented Mar 6, 2025

That's promising?

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@abesto
Copy link
Collaborator Author

abesto commented Mar 6, 2025

That codecov comment seems wonky

@abesto
Copy link
Collaborator Author

abesto commented Mar 6, 2025

Also, the codecov upload for the commit failed:

[2025-03-06T15:59:26.384Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 429 - {"message":"Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 58s."}

I don't think we should upload code coverage for commits (as opposed to PRs, which was fine)?

@rdaum
Copy link
Owner

rdaum commented Mar 6, 2025

Also, the codecov upload for the commit failed:

[2025-03-06T15:59:26.384Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 429 - {"message":"Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 58s."}

I don't think we should upload code coverage for commits (as opposed to PRs, which was fine)?

Hm, yeah, I'll look into fixing that tonight after work.

@rdaum rdaum merged commit bd078fd into rdaum:main Mar 6, 2025
7 checks passed
@abesto abesto deleted the fix/integration-speed branch March 6, 2025 16:19
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.

3 participants