Skip to content

ci: lint and test the resolver in the Linux build job when it changes - #2015

Draft
brenzi-agent wants to merge 3 commits into
simplex-chat:masterfrom
brenzi-agent:ep/ci-resolver-step
Draft

brenzi-agent wants to merge 3 commits into
simplex-chat:masterfrom
brenzi-agent:ep/ci-resolver-step

Conversation

@brenzi-agent

@brenzi-agent brenzi-agent commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • maybe-release: a new output resolver is true on a push, and on a pull request or a manual run that changes scripts/resolver/service or build.yml. A pull request is compared as HEAD^1..HEAD of its merge commit; a manual run with its merge base with master, as in simplex-chat's build.yml.
  • build and build-reduced: the steps "Set up uv", "Lint resolver" and "Test resolver" run after "Clone project" in the ubuntu-24.04 x86-64 entry without the PostgreSQL agent store when resolver is true; they are the steps of the removed job.
  • CI guide (scripts/ci/README.md): when the resolver steps run, and where the local commands are.

CI of this draft (28bb179): "Check changes" set resolver, as build.yml changed. 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-step and set resolver; 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

This branch has not been deployed

No deployments
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