The GitHub Actions job "Required Checks" on texera.git/cov/gmail-resource has 
failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
5f836b422b91a156fc133f95dc96a8fd20af7e5a / Xinyuan Lin <[email protected]>
test(amber): cover the mail resource's address guard and admin fan-out

GmailResource sat at 31.2% of 77 lines in isolation. Despite the name it
is a javax.mail/SMTP resource, not a Google-OAuth one: there is no
GoogleCredential, no token exchange, no clientId, and the only credential
is an SMTP app password consumed inside an Authenticator callback that
never fires unless a socket opens. So the parts worth testing were never
credential-gated.

Adds 4 tests, taking it to 61.0%. The recipient-format guard is pinned
clause by clause, including the null short-circuit and the TLD floor, with
a companion test asserting a well-formed address fails later in delivery
so the malformed list cannot pass under a reject-everything regex. The
admin fan-out is driven with two admins and a REGULAR decoy, so narrowing
the role filter or notifying only the first admin both fail.

No socket is opened. Two unreachable catch arms and the applicant
acknowledgement are recorded as unpinnable rather than cemented, as is the
fact that only the notification's recipient is pinned and not its payload.

No production file is touched.

Report URL: https://github.com/apache/texera/actions/runs/31672231334

With regards,
GitHub Actions via GitBox

Reply via email to