Skip to content

Tests - #40

Merged
JarbasAl merged 2 commits into
devfrom
testnig
Mar 10, 2026
Merged

JarbasAl merged 2 commits into
devfrom
testnig

Conversation

@JarbasAl

@JarbasAl JarbasAl commented Mar 10, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Chores
    • Adjusted GitHub Actions workflow permissions to optimize CI/CD pipeline requirements for coverage reporting and pull request automation.

JarbasAl and others added 2 commits March 10, 2026 16:16
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Mar 10, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ce8926c5-ff11-4df2-8d90-05fd402fb004

📥 Commits

Reviewing files that changed from the base of the PR and between 17cc60c and 77f4e4f.

📒 Files selected for processing (2)
  • .github/workflows/coverage_pages.yml
  • .github/workflows/release_workflow.yml

📝 Walkthrough

Walkthrough

Two GitHub Actions workflow files have their permissions modified. The coverage pages workflow reduces its required permissions by removing contents: read, pages: write, and id-token: write while retaining contents: write. The release workflow adds pull-requests: write permission.

Changes

Cohort / File(s) Summary
GitHub Actions Permissions
.github/workflows/coverage_pages.yml
Simplified permissions configuration by removing contents: read, pages: write, and id-token: write; retained only contents: write.
GitHub Actions Permissions
.github/workflows/release_workflow.yml
Added pull-requests: write permission to enable pull request modification capabilities in the release workflow.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 With whiskers twitching, I adjust the gates,
Less permissions flow through coverage's fate,
While release now writes with PR delight,
The workflows hop along—everything's right! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch testnig

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@JarbasAl
JarbasAl merged commit 50bff37 into dev Mar 10, 2026
13 checks passed
@JarbasAl
JarbasAl deleted the testnig branch March 10, 2026 16:17
@github-actions

github-actions Bot commented Mar 10, 2026 •

Copy link
Copy Markdown
Contributor

Reporting for duty! The automated checks have completed. 🎖️

I've aggregated the results of the automated checks for this PR below.

📋 Repo Health

Scanning for any signs of code rot or decay. 🍄

✅ All required files present.

Latest Version: 0.9.2a1

✅ ovoscope/version.py — Version file
✅ README.md — README
✅ LICENSE — License file
✅ pyproject.toml — pyproject.toml
✅ CHANGELOG.md — Changelog
⚠️ requirements.txt — Requirements
✅ ovoscope/version.py has valid version block markers

🏷️ Release Preview

Ensuring the 'Contributors' list is sorted and complete. 👥

Current: 0.9.2a1 → Next: 0.9.2a2

Signal Value
Label (none)
PR title Tests
Bump alpha

⚠️ No conventional commit prefix — alpha-only bump.
Suggested: fix: update the thing or feat: update the thing


🚀 Release Channel Compatibility

Predicted next version: 0.9.2a2

Channel Status Note Current Constraint
Stable ⚪ Not in channel -
Testing ✅ Compatible ovoscope>=0.7.2,<1.0.0
Alpha ✅ Compatible ovoscope>=0.7.2

🔒 Security (pip-audit)

Ensuring our defenses are strong against vulnerabilities. 🏰

✅ No known vulnerabilities found (68 packages scanned).

⚖️ License Check

I've checked for any 'all rights reserved' surprises. 🛑

✅ No license violations found (60 packages).

License distribution: 14× MIT, 14× MIT License, 9× Apache Software License, 4× Apache-2.0, 4× BSD-3-Clause, 2× ISC License (ISCL), 2× PSF-2.0, 2× Python Software Foundation License, +8 more

Full breakdown — 60 packages
Package Version License URL
annotated-doc 0.0.4 MIT link
annotated-types 0.7.0 MIT License link
anyio 4.12.1 MIT link
audioop-lts 0.2.2 PSF-2.0 link
build 1.4.0 MIT link
certifi 2026.2.25 Mozilla Public License 2.0 (MPL 2.0) link
charset-normalizer 3.4.5 MIT link
click 8.3.1 BSD-3-Clause link
combo_lock 0.3.0 Apache Software License link
fastapi 0.135.1 MIT link
filelock 3.25.1 MIT link
h11 0.16.0 MIT License link
idna 3.11 BSD-3-Clause link
importlib_metadata 8.7.1 Apache-2.0 link
json-database 0.10.1 MIT link
kthread 0.2.3 MIT License link
langcodes 3.5.1 MIT License link
markdown-it-py 4.0.0 MIT License link
mdurl 0.1.2 MIT License link
memory-tempfile 2.2.3 MIT License link
ovos-config 2.1.1 Apache-2.0 link
ovos-number-parser 0.5.1 Apache Software License link
ovos-plugin-manager 2.2.0 Apache-2.0 link
ovos-pydantic-models 0.1.1 Apache-2.0 link
ovos-solver-yes-no-plugin 0.2.8 MIT link
ovos_bus_client 1.5.0 Apache Software License link
ovos_core 2.1.3a2 Apache Software License link
ovos_utils 0.8.5a2 Apache link
ovos_workshop 8.0.0 apache-2.0 link
ovoscope 0.9.2a1 Apache Software License link
packaging 26.0 Apache-2.0 OR BSD-2-Clause link
padacioso 1.0.0 apache-2.0 link
pexpect 4.9.0 ISC License (ISCL) link
ptyprocess 0.7.0 ISC License (ISCL) link
pydantic 2.12.5 MIT link
pydantic_core 2.41.5 MIT link
pyee 12.1.1 MIT License link
Pygments 2.19.2 BSD License link
pyproject_hooks 1.2.0 MIT License link
python-dateutil 2.9.0.post0 Apache Software License; BSD License link
PyYAML 6.0.3 MIT License link
quebra-frases 0.3.7 Apache Software License link
RapidFuzz 3.14.3 MIT link
regex 2026.2.28 Apache-2.0 AND CNRI-Python link
requests 2.32.5 Apache Software License link
rich 13.9.4 MIT License link
rich-click 1.9.7 MIT License

Copyright (c) 2022 Phil Ewels

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
| link |
| simplematch | 1.4 | MIT License | link |
| six | 1.17.0 | MIT License | link |
| standard-aifc | 3.13.0 | Python Software Foundation License | link |
| standard-chunk | 3.13.0 | Python Software Foundation License | link |
| starlette | 0.52.1 | BSD-3-Clause | link |
| typing-inspection | 0.4.2 | MIT | link |
| typing_extensions | 4.15.0 | PSF-2.0 | link |
| unicode-rbnf | 2.4.0 | MIT License | |
| urllib3 | 2.6.3 | MIT | link |
| uvicorn | 0.41.0 | BSD-3-Clause | link |
| watchdog | 2.3.1 | Apache Software License | link |
| websocket-client | 1.9.0 | Apache Software License | link |
| zipp | 3.23.0 | MIT | link |

Policy: Apache 2.0 (universal donor). StrongCopyleft / NetworkCopyleft / WeakCopyleft / Other / Error categories fail. MPL allowed.

📊 Coverage

Quantifying the robustness of your changes. 🏋️

⚠️ 65.8% total coverage

Per-file coverage (4 files)
File Coverage Missing lines
ovoscope/version.py 0.0% 5
ovoscope/pydantic_helpers.py 37.1% 22
ovoscope/pytest_plugin.py 64.3% 5
ovoscope/__init__.py 68.7% 144

Full report: download the coverage-report artifact.

🔨 Build Tests

The build process has successfully terminated. 🏁

✅ All versions pass

Python Build Install Tests
3.10 ✅ ✅ ✅
3.11 ✅ ✅ ✅
3.12 ✅ ✅ ✅
3.13 ✅ ✅ ✅
3.14 ✅ ✅ ✅

Providing clarity through automated analysis 🔍

JarbasAl added a commit that referenced this pull request Mar 10, 2026
* Increment Version to 0.9.1

* Increment Version to 0.9.2a1

* Update Changelog

* Fix perms (#39)

* fix: only run build_tests in release workflow on manual dispatch

PR merge already ran build_tests and coverage on the same code.
Build tests gate now only applies to workflow_dispatch reruns.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: add id-token:write permission for PyPI trusted publishing

Reusable workflows cannot escalate permissions beyond what the caller
grants. The caller must explicitly declare id-token: write for OIDC
token retrieval to work in the publish_pypi job.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* Tests (#40)

* fix: simplify coverage_pages permissions for gh-pages branch deploy

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: add pull-requests:write for build-tests post_build_report job

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* Increment Version to 0.9.2a2

* Update Changelog

* fix perms

* Increment Version to 0.9.2a3

* fix: drop id-token:write from stable release caller

PYPI_TOKEN is sufficient; OIDC not needed or supported.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Increment Version to 0.9.2a4

* Update Changelog

---------

Co-authored-by: JarbasAl <33701864+JarbasAl@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: miro <jarbasai@mailfence.com>
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