Repository navigation
ci: lint and test the resolver in the Linux build job when it changes - #2015
Draft
brenzi-agent wants to merge 3 commits into
Draft
brenzi-agent wants to merge 3 commits into
brenzi-agent wants to merge 3 commits into
Conversation
# Conflicts: # scripts/ci/README.md
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The resolver is linted and tested in the Linux build job, the one a draft pull request runs, when its code or tests change; the separate "resolver (python)" job and its runner are removed.
resolveris true on a push, and on a pull request or a manual run that changesscripts/resolver/serviceorbuild.yml. A pull request is compared asHEAD^1..HEADof its merge commit; a manual run with its merge base with master, as in simplex-chat's build.yml.resolveris true; they are the steps of the removed job.scripts/ci/README.md): when the resolver steps run, and where the local commands are.CI of this draft (28bb179): "Check changes" set
resolver, asbuild.ymlchanged. In "ubuntu-24.04-x86-64, GHC: 9.6.3" the three steps took 11 s ("All checks passed!", 157 passed and 10 subtests passed), and the job passed in 4 min.https://github.com/simplex-chat/simplexmq/actions/runs/41791553400
Manual run on the fork (28bb179): "Check changes" compared
master...ep/ci-resolver-stepand setresolver; the three steps took 8 s and passed, and the job passed in 8 min.https://github.com/brenzi-agent/simplexmq/actions/runs/41793754721
master merged in (b3021ee); the PostgreSQL agent store entry, added on master since, skips the resolver steps (7fa54c0). CI of this draft (7fa54c0): "Lint resolver" and "Test resolver" passed in "ubuntu-24.04-x86-64, GHC: 9.6.3" and were skipped in its PostgreSQL agent store entry; the run passed.
https://github.com/simplex-chat/simplexmq/actions/runs/45440002118