Skip to content

chore(deps): bump pasarguard-node-bridge to 0.9.4 - #1065

Merged
ImMohammad20000 merged 1 commit into
devfrom
chore/bump-node-bridge-0.9.4
Oct 22, 2026
Merged

ImMohammad20000 merged 1 commit into
devfrom
chore/bump-node-bridge-0.9.4

Conversation

@T3ST3ST3R0N

@T3ST3ST3R0N T3ST3ST3R0N commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Raise pasarguard-node-bridge to >=0.9.4 (pyproject and uv.lock). 0.9.4 contains one change since 0.9.3: PasarGuard/node_bridge_py#27.

What 0.9.4 fixes for the panel

  • Before: when a node rejected one user in a queued sync batch (for example a Shadowsocks 2022 inbound that started with no users answers every
    AddUser with "proxy is not a UserManager"), the bridge put the whole batch of up to 100 users back at the head of that node's queue and retried it
    forever. Every later user change for that node was stuck, while the node still showed as connected.
  • Now: a rejected batch is split so the other users are delivered in the same round; rejected users are retried through the queue with a backoff
    (2 s doubling to 60 s, then every 5 minutes for adds, every 60 s for removals) and never dropped; a newer change for the same user always wins;
    isolation is bounded per round. Transport errors, "core not running" and "backend not initialized" keep the old whole-batch retry.
  • No panel code change is needed: sync_users_chunked still returns the failed users as a list (now a list subclass with rejected and detail),
    and the bridge's new private names do not collide with anything in app/.

Lockfile

Only the pasarguard-node-bridge entry and its specifier changed (uv lock --upgrade-package pasarguard-node-bridge). The lockfile header stays at
revision = 3 (a newer uv writes 5; the content is identical), so older uv and Dependabot keep reading it.

Tests

  • Both suites on SQLite with 0.9.4 installed: root tests/ 711 passed, 34 skipped, tests/api 476 passed.

Summary by CodeRabbit

  • Chores
    • Raised the minimum required version of the node bridge component from 0.9.3 to 0.9.4. This is a maintenance update; no user-facing feature changes are included in this release. The update may affect which versions of the component are supported when installing or running the application.

0.9.4 keeps one user a node rejects from stalling that node's sync queue (PasarGuard/node_bridge_py#27).
@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: facf94d7-6b63-4a41-a601-68f0c8a24bb0
📥 Commits

Reviewing files that changed from the base of the PR and between 0085a50 and 18f6391.

⛔ Files ignored due to path filters: 1
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing: 1
  • pyproject.toml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

Walkthrough

The pyproject.toml dependency minimum for pasarguard-node-bridge changed from 0.9.3 to 0.9.4.

Changes

Dependency Minimum Update

Layer / File(s) Summary
Dependency version requirement
pyproject.toml
The minimum required version of pasarguard-node-bridge changed from 0.9.3 to 0.9.4.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: immohammad20000

Merge Risk: ⚪ Minimal · up to 18f63

The dependency update is ready to merge with no verified compatibility or runtime risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the dependency version bump from pasarguard-node-bridge to 0.9.4.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checks the version line,
And sees the minimum climb.
One small change in the project file,
No burrow needs a mile.
The rabbit hops along,
And hums a version song.

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

@T3ST3ST3R0N

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ImMohammad20000
ImMohammad20000 merged commit 80d855f into dev Oct 22, 2026
12 checks passed
@ImMohammad20000
ImMohammad20000 deleted the chore/bump-node-bridge-0.9.4 branch October 22, 2026 09:22
Free-Guy-IR added a commit to Free-Guy-IR/panel that referenced this pull request Nov 2, 2026
…rd main's decisions

B7-ADV2 B2-3, B2-4, B2-6, B2-10 and main's rulings of 2026-10-28.

Decisions (Owner decisions):
- 2026-10-28-main-reclassified, until 2026-11-08: the entries now
  classified security: yes where the fork is affected, each ported as
  the fork's own increment: PasarGuard#1053 59c3b62 (format_map; the fork's
  address allowlist also passes width specs), PasarGuard#947 eb30578
  (webhook URLs logged at app/jobs/send_notifications.py:45 and :47),
  PasarGuard#1052 da27446 (inbound finalmask filter lists reach clients),
  e538dc1 (removes upstream's address check; the fork keeps its
  own and caps format specs with PasarGuard#1053), PasarGuard#1060 e0bb112 (HWID
  registered before the 406), e6ca015 (certifi 2026.10.19,
  already on main as 1c20204), PasarGuard#1065 80d855f (bridge 0.9.4: a
  rejected user stalled the node queue, so removals never arrived),
  PasarGuard#1059 0155c0e (MySQL DATEDIFF ends reset cycles a day early),
  and [email protected].
- 2026-10-28-main-hint-waivers, until 2026-11-27: the nine Waived
  entries the keyword hint flags, now security: yes; the seven
  notifier-workflow commits are covered only while they touch nothing
  but .github/workflows/github-notifications-bot.yml (deleted by the
  fork in 535c1aa), and the two UNMERGED-WIP entries keep failing at
  once if upstream merges them.

Classifications (B2-4): every port-queue security: no reason was
re-read against its diff by six non-author readers (233 entries) and
rewritten to say why the change has no security effect instead of
paraphrasing the subject; 64 readers' flags were adjudicated: the
held telemt entries 0373f09, 35b493c and 84e5416, the
AmneziaWG branch (unchecked fields rendered into subscriber .conf
files), certifi 2026.10.19 and 2026.10.23, docker/login-action 4.7.0
and the telemt link and validation commits are security: yes; the
rest are no with a reason. 0097556 stays no with its reason.

Reasons (B2-10): every Held and Waived security: no entry gives its
reason; the gate's unreasoned count is 0.

aiohttp (B2-6): 3.14.4 fixes eight advisories against 3.14.3 (OSV
2026-10-29): three high, four moderate, one low; item 0b ports aiohttp
3.14.5 and yarl 1.25.1 with trailers.

Bridge waiver: PasarGuard#27 is a security fix, so the 0.9.4 waiver is
security = "yes" under 2026-10-28-main-reclassified, until unchanged.

Held: PasarGuard#1120 8e92a12 (sse-starlette 3.5.1, upstream dev head) and
the new upstream branch feat/gzip-compression (8f48cd7,
769c296, 420d094); .upstream-refs records both heads.

Gate at HEAD with --today 2026-10-29: OK, not at parity, 181 owed.
Free-Guy-IR added a commit to Free-Guy-IR/panel that referenced this pull request Nov 23, 2026
Main owns the UPSTREAM_SYNC.md rows other than the bridge decision
records, and OVERRIDES.md, on integrate/v5.34.28. This restores the three
pin sentences (20858b0, 74d425d, OVERRIDES.md pyproject.toml)
and the PasarGuard#1065 80d855f clause to their 0b3f5b8 text, so this branch
changes neither file outside the decision records.
Free-Guy-IR added a commit to Free-Guy-IR/panel that referenced this pull request Nov 23, 2026
…ove; list app/version.py

- PasarGuard#1065 80d855f: the row now names 0b3f5b8, which replaced the pin line
  bb74259 wrote (pyproject.toml:+113) with the 3eb396cbfb0f pin; the fork
  bridge history at 3eb396cbfb0f still holds 5b21adc6, 67b35df2, e4fe5b12 and
  c8b6707f.
- eba70d6 (v5.5.1 label): Ported by design. The gate reads 8 of its 9
  hunks on head; the ninth moves the FinalMaskTcpType declaration inside the
  generated client, and the fork's FinalMask declarations have text identical
  to upstream v5.6.0's file at other line numbers.
- 2781be6 (PasarGuard#1109): Ported by design. Head keeps the uv.lock header
  revision 3, the header upstream release v5.6.0 ships: upstream's own v5.6.0
  bump 2b75db1 wrote it after PasarGuard#1109. uv 0.13.9 lock --check passes.
- OVERRIDES.md: app/version.py is byte-identical to v5.6.0 since f33a6db.
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