Skip to content

test: fix CI - #1474

Merged
mnapoli merged 1 commit into
productionfrom
fix-ci-coverage
Nov 4, 2026
Merged

mnapoli merged 1 commit into
productionfrom
fix-ci-coverage

Conversation

@mnapoli

@mnapoli mnapoli commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Covers the one line the coverage check reports as untested on production.

Summary by CodeRabbit

  • Tests
    • Added coverage for iOS app sign-in, verifying that a successful local login returns a callback URL with a code while leaving the browser unauthenticated.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change adds a feature test for the iOS app sign-in handoff. It checks the callback URL returned after local login and verifies that the browser remains unauthenticated.

Changes: iOS app sign-in handoff

Layer / File(s) Summary
App sign-in handoff test
tests/Feature/Controllers/LocalSessionControllerTest.php
The test creates an app sign-in challenge, posts local login as an Inertia request, checks that the response location contains the app callback URL and a code parameter, and verifies that the browser remains a guest.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related PRs

Suggested reviewers: nunomaduro

Merge Risk: Minimal · up to 86b0c

This test-only change adds meaningful coverage without introducing a current production risk.

Architecture risk: Low · up to 86b0c

The change affects 1 system.

Changed systems: tests

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — tests (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in tests/Feature/Controllers/LocalSessionControllerTest.php: Adds the AppSignIn import used by the iOS app sign-in test.
  • observed — Modified behavior in tests/Feature/Controllers/LocalSessionControllerTest.php: Adds coverage for app sign-in handoff: the test creates a challenge from an app-only verifier, posts local login as an Inertia request, checks that the returned location starts with the app callback URL and a code parameter, and verifies the browser remains a guest.
Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Title check Inconclusive The title indicates a test-related CI change, but it does not identify the local sign-in handoff or iOS app sign-in flow. Replace the title with a specific summary, such as "test: cover local sign-in handoff for iOS app".
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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 eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 17cf88ba-5216-499a-8a13-cd15b34184a9
Commits

Reviewing files that changed from the base of the PR and between 344fb65 and 86b0c8d.

Files selected for processing: 1
  • tests/Feature/Controllers/LocalSessionControllerTest.php

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

@mnapoli mnapoli changed the title Fix CI test: fix CI Nov 4, 2026
@mnapoli
mnapoli merged commit 5633318 into production Nov 4, 2026
15 of 16 checks passed
@mnapoli
mnapoli deleted the fix-ci-coverage branch November 4, 2026 16:46
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