Skip to content

Fix UI and TCP reset test races and stale CI reports - #90

Merged
andre487 merged 2 commits into
mainfrom
fix/release-jvm-test-reports
Oct 12, 2026
Merged

andre487 merged 2 commits into
mainfrom
fix/release-jvm-test-reports

Conversation

@andre487

@andre487 andre487 commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

Tests and report publication could fail nondeterministically during CI and release builds:

  • Profile-selection UI tests clicked before the asynchronous configuration load published the active profile. Wait for the profile label before clicking in both affected tests.
  • The local TCP reset test closed the accepted socket before client Dial completed. Synchronize the server reset after successful Dial so both HTTPS and MASQUE exercise a real RST during Read and verify target-scoped diagnostics. This also fixes the test failure that stopped the v1.1.2 artifact build.
  • CI reruns retained duplicate JUnit artifacts with the same name, so the reporter combined an earlier failure with a later successful result. Replace matching JUnit artifacts on upload for all suites.

Validation:

  • JDK 21, Fastlane-targeted MainScreenUiTest: 13 tests passed.
  • bundle exec fastlane android native_tests: 224 tests passed with the race detector.
  • go test -race ./mobile -run '^TestLocalResetNeverMarksProxyFailure$' -count=100: all 100 runs passed.
  • Confirmed overwrite is supported by upload-artifact v7; git diff --check passed.

Application networking behavior is unchanged. The existing v1.1.2 tag does not include this fix; rerunning its artifact workflow would still test the old source.

APK artifacts

Built from commit 02441f00 by CI run #319.
Artifacts expire after 14 days. Neither APK uses the MegaProxy release key.

@andre487
andre487 force-pushed the fix/release-jvm-test-reports branch from 7220aa3 to f178aff Compare October 12, 2026 10:41
@andre487
andre487 enabled auto-merge (squash) October 12, 2026 10:41
@andre487 andre487 changed the title Fix profile-selection test race and stale JUnit reports on CI reruns Fix UI and TCP reset test races and stale CI reports Oct 12, 2026
@andre487
andre487 merged commit 4e2c11b into main Oct 12, 2026
15 checks passed
auto-merge was automatically disabled October 12, 2026 11:05

Pull Request is not mergeable

@andre487
andre487 deleted the fix/release-jvm-test-reports branch October 12, 2026 11: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.

1 participant