Skip to content

Prepare 26.11.5 with connection checks and Linux packages - #279

Merged
yiguodev merged 7 commits into
mainfrom
dev-26.11.5
Nov 15, 2026
Merged

yiguodev merged 7 commits into
mainfrom
dev-26.11.5

Conversation

@yiguodev

Copy link
Copy Markdown
Contributor

Summary

Prepare OneXray 26.11.5.

  • Restore Smart routing defaults in the editor. Reset changes only the draft; Save retains validation and confirmation before restarting an affected connection.
  • Open the platform store for update actions, including Microsoft Store for Windows; macOS SE and Linux use GitHub Releases.
  • Reuse libXray for one asynchronous reference probe after connecting. Failure shows one advisory toast without changing VPN state, saved node latency or sorting. Raw/provider configurations and iOS Simulator are skipped.
  • Add Fedora RPM and pacman packages for x86_64 and ARM64, automatic Core capabilities on install/upgrade, and complete CI artifact/release checks. Pacman uses official native Fastforge 0.7.0-dev.7; ZIP/DEB/RPM retain Dart Fastforge.
  • Simplify the English, Chinese and Russian READMEs and link detailed instructions to the documentation site.
VPN connected -> one asynchronous reference probe -> failure-only toast
Linux build   -> ZIP + DEB + RPM + pacman (.pkg.tar.zst)

Evidence

  • Before: Smart routing had no reset action, connecting had no advisory node check, and Linux builds produced ZIP/DEB only.
    After: The editor restores defaults without persisting until Save; probe results are advisory; all four Linux package formats are collected and required for release.
  • 31 Smart routing/editor and update-destination tests passed. Probe runner, coordinator lifecycle and notice regressions also passed.
  • Build-script suite: 38 passed, 1 Windows-only test skipped on macOS.
  • Actual Fedora ARM64 RPM and Arch x86_64 pacman installation/upgrade checks passed with small ELF fixtures. Pacman removal, normal-user launch of the GUI fixture, preserved user data and Core capability reapplication were verified.
  • Documentation links and git diff --check passed.
  • Full Flutter Linux builds, real VPN acceptance and Arch ARM64 package installation were not performed.

Merge Danger

Door: Two-way

No database migrations. Smart defaults persist only through the existing Save flow. The reference probe checks node chains with a temporary Core; it does not establish actual VPN tunnel health.

Blast Radius: App

Smart routing editing, update navigation, connection feedback and Linux packaging/release selection. Linux CI adds a pinned upstream native Fastforge prerelease for pacman only.

Copilot AI balanced review requested due to automatic review settings November 15, 2026 04:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T04:56:59.549011Z 7f80063 PR opened
🔒 Security Review ✅ Completed 2026-11-15T05:00:16.672563Z 7f80063 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Reported fixture checks do not establish real-device VPN/probe isolation or full Linux and Arch ARM64 package compatibility, leaving critical platform validation unresolved.

No open issues 🎉

What changed in this PR

Prepares OneXray 26.11.5 with improved connection feedback, Smart routing reset controls, platform-specific update navigation, and expanded Linux packaging.

Changes:

  • Adds draft-only Smart routing defaults restoration and a one-time, advisory node probe after connecting.
  • Routes update actions to platform stores or GitHub Releases and adds RPM/pacman packaging with release checks.
  • Adds regression coverage, documents behavior and validation requirements, and simplifies three READMEs.
File Description
test/​service/​settings/​app_update/​service_test.dart Tests update destinations, fallback URLs, and launch failures.
test/​service/​connect/​startup_probe_test.dart Tests probe chains, outcomes, and skipped configurations.
test/​service/​connect/​startup_probe_coordinator_test.dart Tests probe scheduling, session identity, and lifecycle handling.
test/​service/​connect/​routing/​smart/​editor_test.dart Tests confirmation before saving defaults and reconnecting.
test/​pages/​shared/​connection_probe_notice_test.dart Tests one-time advisory notices and stale-result suppression.
test/​pages/​connect/​routing/​smart/​restore_defaults_test.dart Tests draft reset, form refresh, persistence, and pending selections.
readme/​README.zh_CN.md Simplifies the Chinese README and links detailed guides.
readme/​README.ru.md Simplifies the Russian README and links detailed guides.
README.md Simplifies the English README and links detailed guides.
pubspec.yaml Bumps the app version to 26.11.5+1.
linux/​packaging/​rpm/​make_config.yaml Defines RPM dependencies, metadata, and Core capabilities.
linux/​packaging/​pacman/​make_config.yaml Defines pacman metadata and install/upgrade capability hooks.
lib/​service/​settings/​app_update/​service.dart Adds Microsoft Store routing and injectable update dependencies.
lib/​service/​connect/​startup_probe.dart Implements reference checks using existing batch probes.
lib/​service/​connect/​coordinator.dart Schedules session-scoped probes and exposes advisory failures.
lib/​pages/​shared/​connection_probe_notice.dart Consumes current failures and displays a toast once.
lib/​pages/​main/​adaptive_shell.dart Connects probe notices to the main app shell.
lib/​pages/​connect/​routing/​smart/​page.dart Adds reset controls and refreshes nested forms.
lib/​pages/​connect/​routing/​smart/​controller.dart Resets drafts and rejects outdated selection results.
lib/​l10n/​app_zh.arb Adds the Simplified Chinese probe notice.
lib/​l10n/​app_zh_Hant.arb Adds the Traditional Chinese probe notice.
lib/​l10n/​app_ru.arb Adds the Russian probe notice.
lib/​l10n/​app_fa.arb Adds the Persian probe notice.
lib/​l10n/​app_en.arb Adds the English probe notice and translation context.
docs/​xray-configuration.md Defines probe scope, lifecycle, and advisory limitations.
docs/​validation.md Documents reset, probe, and update verification scenarios.
docs/​app.md Documents reset behavior, connection notices, and update destinations.
build_scripts/​verify_release.py Requires RPM and pacman artifacts for both Linux architectures.
build_scripts/​tests/​test_release.py Tests release rejection when Linux packages are missing.
build_scripts/​tests/​test_builder.py Tests four-format packaging, failures, and artifact collection.
build_scripts/​README.md Documents Linux tooling, packages, installation, and capabilities.
build_scripts/​app/​linux.py Builds and collects RPM/pacman alongside ZIP/DEB.
build_scripts/​app/​builder.py Supports selecting a separate Fastforge executable.
.github/​workflows/​build.yml Installs Linux packaging tools and uploads all four formats.

Review effort: Balanced

@yiguodev
yiguodev merged commit 95cc218 into main Nov 15, 2026
2 checks passed
@yiguodev
yiguodev deleted the dev-26.11.5 branch November 15, 2026 05:05
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