Exercise every Google scope against a real account - #95
Merged
Conversation
The consent screen makes you justify each restricted scope in writing and then demonstrate it on video. Both are easier to get right when the claims have been run rather than reasoned about, and a scope that quietly stopped working is the kind of thing you want to find before a reviewer does. Fifteen calls in four groups, one per scope. Everything it creates it removes: a scratch event a year out, a scratch folder, a message to the account's own address. It touches nothing that was already there apart from two reads. Not part of vitest. It needs a live gateway, a workspace credential and a connected Google account, so it stays a command.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The consent screen makes you justify each restricted scope in writing and then demonstrate it on video. Both go better when the claims have been run rather than reasoned about, and a scope that quietly stopped working is worth finding before a reviewer does.
npm run check:google, withGATEWAY_URLandSELAT_TOKENset. Fifteen calls in four groups:Everything it creates it removes: a scratch event a year out, a scratch folder, a message to the account's own address. It reads two existing rows and changes neither. The event sits in 2027 on purpose, so a run that dies before cleanup leaves something obviously synthetic rather than something in next week's view.
Run against
api.selat.devon v0.1.3, ids and names cut because this is a public repo:The last two lines are the ones that matter.
INBOXbecomingTRASHafter a send is what separatesgmail.modifyfromgmail.readonlyplusgmail.send.It prints file ids and never file names. The output ends up in issues and on screen while recording, and a document title is the one field in the run that can carry something private.
Not in vitest: it needs a live gateway, a workspace credential and a connected Google account.