Skip to content

[#13644] Remove GAE Dependence for Cron Jobs#13690

Open
Nsohko wants to merge 25 commits intoTEAMMATES:masterfrom
Nsohko:sai/migrate-cron-from-gae
Open

[#13644] Remove GAE Dependence for Cron Jobs#13690
Nsohko wants to merge 25 commits intoTEAMMATES:masterfrom
Nsohko:sai/migrate-cron-from-gae

Conversation

@Nsohko
Copy link
Copy Markdown
Contributor

@Nsohko Nsohko commented Mar 30, 2026

Fixes #13644

Remove GAE dependence for Cron Jobs.

Address Samuel's feedback on PR #13658

@github-actions
Copy link
Copy Markdown

Hi @Nsohko, thank you for your interest in contributing to TEAMMATES!
However, your PR does not appear to follow our contribution guidelines:

  • Description must reference the issue number the PR is fixing, e.g. Fixes #<issue-number> (or Part of #<issue-number> if the PR does not address the issue fully)

Please address the above before we proceed to review your PR.

@Nsohko
Copy link
Copy Markdown
Contributor Author

Nsohko commented Mar 30, 2026

Hi @DhiraPT, can I get your review on this before I ping Samuel

@Nsohko Nsohko requested a review from DhiraPT March 30, 2026 04:32
@DhiraPT DhiraPT requested a review from Copilot March 30, 2026 05:44
Copy link
Copy Markdown
Contributor

@DhiraPT DhiraPT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on @samuelfangjw 's comment in the previous PR, most of the issues have been addressed. However, you have not renamed InternalRequestAuth and addressed the wrong pattern in LocalTaskQueueService (not the right layer to validate secrets as a core responsibility)

@Nsohko
Copy link
Copy Markdown
Contributor Author

Nsohko commented Apr 1, 2026

Hi @DhiraPT, thank you for the review

@samuelfangjw Please let me know what would be a more apt name for InternalRequestAuth

I will rename InternalServiceAction to use the same convention

@samuelfangjw
Copy link
Copy Markdown
Member

Hi @DhiraPT, thank you for the review

@samuelfangjw Please let me know what would be a more apt name for InternalRequestAuth

I will rename InternalServiceAction to use the same convention

@Nsohko sorry I forgot about this. How about AutomatedXYZ?

Comment on lines +48 to +50
public boolean canAccessAsAdminOrInternalService() {
return isAdmin || isInternalService;
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we move this directly into InternalServiceAction? This is not really the responsibility of the UserInfo class.

@samuelfangjw samuelfangjw requested a review from DhiraPT April 6, 2026 13:19
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.

Implement bearer token authentication for cron and worker endpoints

3 participants