Repository navigation
build(deps): bump the python-deps group across 1 directory with 3 updates - #5
Closed
dependabot[bot] wants to merge 25 commits into
Closed
dependabot[bot] wants to merge 25 commits into
dependabot[bot] wants to merge 25 commits into
Conversation
fix: critical bugs, missing tests, and config cleanup
Sourcery AI review: after the 5-second polling loop, stop_proxy returned True even when the process was still running, which could lead to port conflicts when starting a replacement process.
- Install binary and _internal/ to ~/.local/lib/openrot/ instead of ~/.local/bin/ - Symlink binary into ~/.local/bin/ for PATH discovery - Update README install path description
… daemon warp.connect() used console.status (a rich Live), which crashes with 'Only one live display may be active at once' when the bridge rotates WARP from a concurrent request thread. Replace it with a plain print + polling loop that is thread-safe and keeps the foreground UX. serve() printed 'Ctrl-C to stop.' unconditionally, so the daemon child (re-runs 'start bridge' with stdout redirected to the log file) wrote a misleading interactive tip into openrot-bridge.log. Gate it on sys.stdout.isatty() and add regression tests for both fixes.
fix: avoid rich live conflicts in warp connect and hide ctrl-c tip in daemon
…utput through events
limiter Bridge now parses 429 response bodies to detect FreeUsageLimitError (account quota exhaustion) and only rotates the cascade in that case. Other 429s are treated as transient — the bridge waits for Retry-After header (or 5s default) and retries without rotating. Shared httpx client singleton replaces per-request client creation, eliminating connection pool overhead. Concurrency semaphore (bridge_max_concurrent, default 3, env OPENROT_BRIDGE_MAX_CONCURRENT) prevents too many parallel upstream requests. Also includes: - Daemon stdio redirected to DEVNULL to prevent terminal pollution after `openrot start bridge --daemon` - Self-update prints new binary version via subprocess before restart - Self-update tracks and restarts bridge daemon alongside cascade - Console echo removed from foreground paths (logs only to file)
… logging Remove dead code, over-engineering, and duplication flagged during the rationality cleanup, and unify the logging system across all components. Cleanup: - drop core/probe.py and the openrot probe command; use curl through the proxy in the integration loop instead - cap verify MAX_WORKERS at 16 (was 50) - add core/http.make_client factory; replace 9 inline httpx.Client sites - add core/http.get_egress_ip (was duplicated in free.py and singbox.py) - add core/pid.PidFile; use it in proxy.py and daemon.py - add core/constants (HEALTH_URL, IPIFY_URL); import from shared module - fix check_for_update updated-flag logic in self_update - dedupe except (X, Y): tuple syntax across bridge, vless, warp - drop UpstreamError wrapper in favor of httpx.HTTPError - simplify update_config[T] generic away Rename: - move providers/free.py → providers/proxy.py and tests to match; update all callers (nodes, proxy, refresh, verify, health) to the proxy module and check_proxy_node Logging: - add isatty-gated console handler (INFO, %(message)s) alongside the file handler; OPENROT_DEBUG_REQ lifts only the file handler to DEBUG - switch _debug_request to events.debug - unify format to [<component>] prefixes across warp, cascade, refresh, health, singbox, bridge; log bridge request output from streamed bytes plus status and request id - log pipeline stage tallies from refresh.fetch_profile_nodes when no progress bar is attached - emit plain-file audits for CLI commands (profile, warp, self-update, provider, stop, daemon start)
- Add global min-gap pacing between upstream request starts (bridge_min_interval) - Inject fresh X-Opencode-Session / X-Opencode-Request ids per forwarded request - Guard bridge and cascade startup against busy ports via port_in_use - Make events logger file-only: drop the console handler - Drop dynamic kwargs dict in make_client
- Reorder top-level members in 7 production and 7 test files - Remove separator comment lines and reword slop docstring in bridge.py - Include stub-tools append/dedup fix and its test updates (carried WIP)
…ates Bumps the python-deps group with 3 updates in the / directory: [ruff](https://github.com/astral-sh/ruff), [pyinstaller](https://github.com/pyinstaller/pyinstaller) and [pydantic](https://github.com/pydantic/pydantic). Updates `ruff` from 0.16.5 to 0.16.9 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.16.5...0.16.9) Updates `pyinstaller` from 6.22.2 to 6.22.3 - [Release notes](https://github.com/pyinstaller/pyinstaller/releases) - [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst) - [Commits](pyinstaller/pyinstaller@v6.22.2...v6.22.3) Updates `pydantic` from 2.13.4 to 2.13.5 - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/v2.13.5/HISTORY.md) - [Commits](pydantic/pydantic@v2.13.4...v2.13.5) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.16.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-deps - dependency-name: pyinstaller dependency-version: 6.22.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-deps - dependency-name: pydantic dependency-version: 2.13.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-deps ... Signed-off-by: dependabot[bot] <support@github.com>
Author
|
Looks like these dependencies are updatable in another way, so this is no longer needed. |
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.
Bumps the python-deps group with 3 updates in the / directory: ruff, pyinstaller and pydantic.
Updates
rufffrom 0.16.5 to 0.16.9Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
0be08a2Bump version to 0.16.9 (#28882)b4920b7Renameruff_clitoruff_command_line(#28881)47c751bUpdate dependency astral-sh/uv to v0.12.18 (#28880)8c244e5[flake8-comprehensions] Documentmap/generator exception behavior (C417...5edf5a1Usetargetform inrooster.version_files(#28876)915bb2b[ty] Prefer existing @ paths over response files in Ruff and ty (#28877)4710e1aci(github): update version number in placeholder of issue template (#28871)eedfc62[ty] Propagate outer type context through cast calls (#28855)ceaa6a0[ty] Contain rendered code within Markdown fences (#28869)dba0f30authorize ruff-pre-commit dispatch via OIDC (#28867)Updates
pyinstallerfrom 6.22.2 to 6.22.3Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.
Commits
ecd7993Release v6.22.3. [skip ci]8807296doc: update documentation section on onefile/onedir security verificationbda6110bootloader: security: improve owner/permissions check in onedir modee3fc240bootloader: security: add detection of file capabilities on linux3d73d32bootloader: security: enable security checks for setgid executables10c62c5bootloader: security: make early-error message a bit more generic1919af1Tests: Requirements: Scheduled weekly dependency update for week 36 (#9522)77907b5doc: update documentation section on onefile security verificationa36324bci: freebsd: mount /proc012e150tests: security: adjust for platforms without parent-process verificationUpdates
pydanticfrom 2.13.4 to 2.13.5Release notes
Sourced from pydantic's releases.
Changelog
Sourced from pydantic's changelog.
Commits
001dea0Bumppypa/gh-action-pypi-publishaction to v1.14.2558379fBump twine to v7.0.02cfd5d3Do not check for docs builda735beeFix more Clippy lints7eed4a1Fix Clippy 0.1.95 warningsb353bbbPrepare release v2.13.563d2cccCount validated model fields once in smart unionsa53ec2eSpeed up PyPy CI testsd65e0f9Workaround circular import error in Mypy47a6dbfFix missing GC traversal inpydantic-coreforGeneralFieldsSerializerDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions