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

Increase solver timeout #357

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

shonfeder
Copy link
Contributor

@shonfeder shonfeder commented Sep 17, 2024

Trying to fix #354.
Recreates #342 (for which the branch has been deleted).

If this timeout is long enough, it will address the timeouts on opam
2.0, 2.1, and 2.2, since this env var has been supported at least since 2.0:
https://github.com/ocaml/opam/blob/7d4a0f2e0fefe748efbd7358775b1a0bd8267544/src/solver/opamSolverConfig.ml#L131-L132

This can increase the build time of some tests, but I think it should be
worth it if it can give proper results:

  • Only few builds (~3) per PR run on these older opam versions.
  • We are wasting a lot of cumulative person time having to check the CI
    results for PRs that should be green if the CI wasn't giving these
    (arguably) false negatives.

@shonfeder shonfeder requested a review from mtelvers September 17, 2024 00:19
Trying to fix ocurrent#354.
Recreates ocurrent#342 (for which the branch has been deleted).

If this timeout is long enough, it will address the timeouts on opam
2.0, 2.1, and 2.2, since this env var has been supported at least since 2.0:
https://github.com/ocaml/opam/blob/7d4a0f2e0fefe748efbd7358775b1a0bd8267544/src/solver/opamSolverConfig.ml#L131-L132

This can increase the build time of some tests, but I think it should be
worth it if it can give proper results:

- Only few builds (~3) per PR run on these older opam versions.
- We are wasting a lot of cumulative preson time having to check the CI
- results for PR that should be green if the CI wasn't giving these
  (arguably) false negatives.
@shonfeder
Copy link
Contributor Author

Thanks for the reviews!

@shonfeder shonfeder merged commit 44843fd into ocurrent:master Sep 20, 2024
2 checks passed
@shonfeder shonfeder deleted the 354/increase-timeout branch September 20, 2024 01:15
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.

Tests on opam versions =< 2.3 are failing with solver timeouts
3 participants