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

Fixes to itemlink and fixes/improvements to CI #3238

Merged
merged 7 commits into from
Oct 20, 2023

Conversation

guilherme-gm
Copy link
Member

@guilherme-gm guilherme-gm commented Oct 19, 2023

Pull Request Prelude

Changes Proposed

This applies some changes to our actions that should make most of them now pass.

  1. AppVeyor doesn't have "mysql56" anymore. I changed to "mysql" (following their docs)

  2. Fixed clang-13 build
    The package was never found. I am not skilled in linux packages nor actions, but per my understanding, debian:unstable no longer has clang-13 (checked here: https://pkgs.org/search/?q=clang ). I changed build pipeline (which includes clang-13) to use debian:bookworm instead. I don't know if we really need to use unstable here...

  3. Added concurrency settings to actions so they now stop the current CI of a PR if a new commit is pushed to this PR.
    I have followed these docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency and from my tests everything seems fine

With those changes I expect to have most checks passing, MySQL will continue failing because of MYSQL_OPT_RECONNECT deprecation. We use it and this generates a Warning, failing the CI. I am unsure how to better approach this one... I am open to suggestions (and I can work in a separate PR for that).

https://dev.mysql.com/doc/c-api/8.0/en/c-api-auto-reconnect.html

Finally, fixing these has shown a few errors in the CI. Some were caused by me 😅 in #3236 , so I am fixing here. Another one was in tests, I fixed it too (hopefully the right way).

Edit: now that all checks finished running.

  • "mysql" group is expected to fail (as noted above)
  • the other failures are due to a random freeze that happens in some runs that I have no idea why. Back on Actions CI adjustments #3217 I reduced its timeout, but could not find the root cause, since it happens in random tests and at random stages.

Issues addressed:
None, I think

"mysql56" is not (no longer?) a valid service
debian:unstable doesn't have clang-13 available for installation, using debian bookworm instead
pushing a new commit in a PR now stops actions from previous commits
of the same PR, allowing CI to stop testing old code and starting the
new one earlier
one of the cards used in the test is not available for pre-re, changing
to a card that is available in both
@guilherme-gm guilherme-gm changed the title Fixes and improvements to CI and itemlink Fixes to itemlink and fixes/improvements to CI Oct 19, 2023
@MishimaHaruna MishimaHaruna merged commit 6715350 into HerculesWS:master Oct 20, 2023
237 of 254 checks passed
@MishimaHaruna MishimaHaruna added this to the Release v2023.10 milestone Oct 20, 2023
@guilherme-gm guilherme-gm deleted the ci-fixes branch March 2, 2024 21:01
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