Skip to content

Merge back student release#3638

Merged
tamaskozmer merged 3 commits intomasterfrom
release/student
Apr 13, 2026
Merged

Merge back student release#3638
tamaskozmer merged 3 commits intomasterfrom
release/student

Conversation

@tamaskozmer
Copy link
Copy Markdown
Contributor

No description provided.

tamaskozmer and others added 3 commits April 8, 2026 12:52
refs: MBL-19940
affects: Student
release note: Fixed an issue where students were logged out when entering split-screen or multi-window mode on Android tablets.

(cherry picked from commit fc199e6)
@github-actions
Copy link
Copy Markdown
Contributor

🧪 Unit Test Results


📊 Summary

  • Total Tests: 0
  • Failed: 0
  • Skipped: 0
  • Status: ⚠️ No test results found

Last updated: Mon, 13 Apr 2026 07:42:39 GMT

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Review Summary

This is a small, targeted patch release with two changes.

What's changed:

  • Student app version bump: 8.7.0 (code 290) → 8.7.1 (code 291)
  • FeatureFlagProvider.fetchEnvironmentFeatureFlags(): removed shouldIgnoreToken = true from the RestParams passed to the features/environment API call

Assessment:

The bug fix is correct and well-scoped. The GET /api/v1/features/environment endpoint is user-context-sensitive and needs authentication — calling it without the Bearer token would cause the server to either return a 401 or respond with data for an anonymous context, silently producing wrong feature flag state. Removing shouldIgnoreToken = true restores the expected authenticated behavior.

The rest of the networking layer (RequestInterceptor, DomainServicesRequestInterceptor) already handles token injection by default, so no further changes are needed there.

Issues found:

  • The existing fetchEnvironmentFeatureFlags test uses any() for RestParams and won't catch a future regression where shouldIgnoreToken is reintroduced — see inline comment on FeatureFlagProviderTest.kt:142.

@github-actions
Copy link
Copy Markdown
Contributor

📊 Code Coverage Report

✅ Student

  • PR Coverage: 42.65%
  • Master Coverage: 42.65%
  • Delta: +0.00%

✅ Teacher

  • PR Coverage: 25.37%
  • Master Coverage: 25.37%
  • Delta: +0.00%

✅ Pandautils

  • PR Coverage: 23.69%
  • Master Coverage: 23.69%
  • Delta: +0.00%

📈 Overall Average

  • PR Coverage: 30.57%
  • Master Coverage: 30.57%
  • Delta: +0.00%

@tamaskozmer tamaskozmer merged commit 9a79d3e into master Apr 13, 2026
29 of 31 checks passed
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