Repository navigation
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
🟢 Coverage 100.00% diff coverage · +0.00% coverage variation
Metric Results Coverage variation ✅ +0.00% coverage variation (-1.00%) Diff coverage ✅ 100.00% diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (4e31826) 92329 24856 26.92% Head commit (acd73e4) 92331 (+2) 24857 (+1) 26.92% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#3795) 2 2 100.00% Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
pbleser-oc
left a comment
There was a problem hiding this comment.
Looks good to me. I checked that nonce != "" really means "a PIN was sent": Renew only gets a nonce from rotateGuestToken when the session is valid and the rotation went through, and that is the same condition under which GuestTokenRenewed carries the PIN. All other successful paths (no session and the link can still be redeemed, a concurrent renewal) return an empty nonce, so callers without a session still can't tell them apart.
Two small things I took care of:
- The PR had no labels, so it would have ended up in no changelog section; I added
Type:EnhancementandStatus:Needs-Review. - The CI run of the spec PR, opencloud-eu/libre-graph-api#82, had been waiting for approval in Woodpecker since 2026-10-23; I approved it, so it is running now. The field name and the schema there match this PR.
closes: #3786
dependent on: opencloud-eu/libre-graph-api#82
renewal endpoint returns
withPinflag on response