Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude Drive Activity from the server's Google account. #2311

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jpd236
Copy link
Contributor

@jpd236 jpd236 commented Oct 22, 2024

It appears that the drive API counts various actions taken by the server account in the process of creating a new document for a puzzle as edits (in that the edit field is populated). This is confusing as it looks like there is drive activity in every new puzzle when it is first created, even if nobody has opened it or edited the document.

We can filter out events associated with the ID of the server account to prevent this confusion. Given that this account is recommended to not be one used for actual hunting, this seems like a reasonable approach.

We were not previously storing the ID when logging into a server account. We store it for future sign-ins, but for simplicity, do not bother with backfill. This means that until the server admin signs in again, they will continue to see activity under the server admin.

Also note that regardless of which account you're logged into JR with, Sheets activity will be associated with the default Google account in your browser session.

See #2280

It appears that the drive API counts various actions taken by the server
account in the process of creating a new document for a puzzle as edits
(in that the edit field is populated). This is confusing as it looks
like there is drive activity in every new puzzle when it is first
created, even if nobody has opened it or edited the document.

We can filter out events associated with the ID of the server account to
prevent this confusion. Given that this account is recommended to not be
one used for actual hunting, this seems like a reasonable approach.

We were not previously storing the ID when logging into a server
account. We store it for future sign-ins, but for simplicity, do not
bother with backfill. This means that until the server admin signs in
again, they will continue to see activity under the server admin.

Also note that regardless of which account you're logged into JR with,
Sheets activity will be associated with the default Google account in
your browser session.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant