Skip to content

Fix/failed state screen - #233

Merged
JuliusCaesarCrypto merged 1 commit into
devfrom
fix/failed-state-screen
Jul 22, 2026
Merged

Fix/failed state screen#233
JuliusCaesarCrypto merged 1 commit into
devfrom
fix/failed-state-screen

Conversation

@JuliusCaesarCrypto

Copy link
Copy Markdown
Contributor

Change Description

Briefly describe what this PR does and why. Keep it short and clear.


Related Platforms

Which platforms are affected by your changes? Check only the ones you actually tested.

  • Android
  • iOS
  • iPad
  • Windows
  • Linux
  • Android TV
  • OpenWrt

Verification Checklist

Make sure the things you checked actually work. It's okay if you didn't test everything.

  • Project builds successfully
  • App runs without crashes on tested platforms
  • VPN connection works correctly
  • No obvious regressions observed
  • Documentation updated (if needed)

Optional (for bigger changes)

  • Added or updated unit / E2E tests
  • Checked security and edge cases

Related Links

Closes #ID.

@JuliusCaesarCrypto JuliusCaesarCrypto self-assigned this Jul 22, 2026
Copilot AI review requested due to automatic review settings July 22, 2026 21:08
@JuliusCaesarCrypto JuliusCaesarCrypto added the bug Something isn't working label Jul 22, 2026
@JuliusCaesarCrypto
JuliusCaesarCrypto merged commit d6764e6 into dev Jul 22, 2026
1 check passed
@JuliusCaesarCrypto
JuliusCaesarCrypto deleted the fix/failed-state-screen branch July 22, 2026 21:09

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.

Pull request overview

This PR updates the app/package version and adjusts VPN teardown behavior so that, when the VPN tunnel closes after an error, the connection status can optionally remain in an error state (instead of being forced back to disconnecting/disconnected).

Changes:

  • Bump app version to 5.8.0+287 and Windows MSIX version to 5.8.0.287.
  • Update _closeTunnel to accept a keepConnectionStatus flag, preventing state transitions to disconnecting/disconnected when preserving an error state.
  • Pass keepConnectionStatus for "Data: VPN cancelled" / "Data: VPN stopped" events when the current connection status is ConnectionStatus.error.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pubspec.yaml Version bump for the app and MSIX packaging.
lib/modules/core/vpn.dart Preserve error connection status across tunnel-close paths for cancelled/stopped events.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants