Repository navigation
chore: update from templates and dependencies to latest - #83
Merged
Merged
Conversation
Each GraphQL request class now holds its query as a DOCUMENT class constant parsed at import, and _request builds a single GraphQLRequest from it with the variables, instead of re-parsing the query on every property access. The four copies of the aiostream merge-and-reyield block in the GitHub trigger use the new lib.utils.asyncio.merge_async_iterables helper.
ovsds
commented
Oct 20, 2026
ovsds
marked this pull request as ready for review
October 22, 2026 03:59
This was referenced Nov 4, 2026
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.
🤖 AI-generated description
https://github.com/ovsds/github-watcher/pull/83 update from both templates, move to mise and every dependency to latest. [L, code +2984/−3248, tests +37/−3]
Re-applies template-repository to the root and template-service-python to
backend/, which replaces every Taskfile with mise tasks, and moves the tooling, Python dependencies and images to the latest releases, clearing the open Dependabot alerts (aiohttp, anyio, black and the npm dev baseline). Commands aremise run ...instead oftask ...; the backend and its image run Python 3.15 on Debian trixie without pip (one Python for the whole repository); gql 4, aiostream 0.8 and cron-converter 2 required code changes; queue error messages show topics asTopic(task_jobs)instead ofTopic(JobTopic.TASK).Changes
services='backend',scripts,with_python,with_build,with_trivy,with_zizmor,python_version='3.15.0'): root and.scriptson mise (secret-transfer 0.5), CI and release workflows onjdx/mise-action, actions pinned by SHA; Taskfiles,.nvmrc,.python-version,.poetry-versionremoved. Kept: README sections,.scriptssecrets entries,environment_activate'sGITHUB_TOKENexport, the container test step incheck-pr(it needs the integration secrets),ci-image-push/ci-image-scanas one-line root tasks.backend/from template-service-python (json utils, trivy,python_version='3.15.0'):backend/mise.tomlwith the template's tasks, Poetry 2[project]metadata; the service's own code, settings,GITHUB_WATCHER_SETTINGS_YAMLenv name and.settingsmount inimage-run(github-watcher-action relies on it), OCI annotations kept.python:3.15.0-trixieimages.GraphQLRequestwith each query parsed once; aiostream 0.8 merges iterated inside their stream context, through one shared helper;Generator/AsyncGeneratorannotations for context managers; ruff 0.17 findings (StrEnumtopics and modes, simplified returns), and a test that assertedawaited_once_withinstead ofassert_awaited_once_with.Testing
mise run init,lint-fix(no changes),lint(prettier, Poetry checks, deptry, black, toml-sort, sort-all, ruff, pyright, zizmor) - pass;npm audit0,npm outdatedempty.mise run testwith a real GitHub token - 39 of 40 pass, including the GraphQL and REST integration tests against the live API; the Telegram send test needs a real bot token.TELEGRAM_TOKENandTELEGRAM_CHAT_IDcame from iac (ovsds/iac#122) - passbin.mainend to end against python/cpython: triggers produce events, Telegram actions fail as expected with a dummy token.mise install --monorepo --dry-runwith mise 2026.10.15 from an empty data dir plans one Python, 3.15.0.test-container, CI image push and scan; CI runs the container tests.Related