Skip to content

Merge develop into main - #20

Merged
wmariuss merged 11 commits into
masterfrom
develop
Sep 19, 2026
Merged

wmariuss merged 11 commits into
masterfrom
develop

Conversation

@wmariuss

Copy link
Copy Markdown
Owner

No description provided.

Travis CI has not run this project in years and no runner has Python 3.6
anymore. The workflow installs through pipenv and runs black, pylint
(errors only) and a byte-compile on every push and pull request.

gunicorn 23.0.0, rq 1.16.2 and APScheduler 3.10.4: the 3.6 release imported
pkg_resources, which Python 3.12 environments no longer ship. redis is
listed since the code imports it directly. black joins the dev packages
because the badge claims it. The pylint config gains the section header
pylint 3 requires.
…ger raises

The scheduler enqueued on database 0 while the worker listened on database
1, so with default settings no job ever ran. Both read REDIS_DB now.
_minion_info returned an unbound name when the highstate result was empty.
The salt imports carry a pylint marker: salt is the master host's package,
not a dependency the lint job can install.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unresolved CI branch, Redis deployment, and Python/Salt compatibility issues block approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 3 High severity · 2 Medium severity

Open (5)
What changed in this PR

Merges develop into main while modernizing Python support, CI, dependencies, Redis configuration, documentation, and licensing.

Changes:

  • Adds GitHub Actions CI and updates development tooling.
  • Updates Python and dependency configuration.
  • Aligns Redis database settings.
  • Refreshes documentation, changelog, and license.
File Description
worker.py Adds configurable Redis database selection.
tasks.py Reformats a docstring.
smonit/​tasks.py Formatting adjustment.
smonit/​services/​api.py Handles Salt imports and initializes result values.
smonit/​main.py Formatting cleanup.
smonit/​execution.py Adds Redis database configuration.
smonit/​__init__.py Formatting cleanup.
README.md Updates setup, usage, and configuration documentation.
pyproject.toml Targets Python 3.12 for Black.
Pipfile.lock Regenerates locked dependencies.
Pipfile Updates dependencies and Python requirements.
LICENSE Changes the license to Apache 2.0.
CHANGELOG.md Documents release changes.
.travis.yml Removes obsolete Travis CI configuration.
.pylintrc Updates Pylint configuration.
.github/​workflows/​ci.yml Adds GitHub Actions checks.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md Resolved
Comment thread smonit/execution.py Resolved
Comment thread worker.py Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread README.md Resolved
wmariuss and others added 4 commits September 19, 2026 18:28
…for pushes to main'

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ilable to systemd runtime commands'

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…alt runs on

smonit imports salt from its own interpreter, so it can only run on a
Python that Salt supports. Every current Salt release, 3008.2 included,
advertises 3.8 to 3.10 and the official packages bundle 3.10, so 3.12 was a
requirement no salt-master host could meet. The lock is regenerated on 3.10
and the README says how to install into the onedir Python with salt-pip.
… are enqueued

The bare rq command ignored REDIS_DB and sat on database 0 while the
scheduler enqueued on database 1. The environment file now spells out the
port and database too.
@wmariuss
wmariuss merged commit cb1dbb1 into master Sep 19, 2026
2 checks passed
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.

2 participants