Repository navigation
Conversation
CannedScriptExecutionAction (/_dr/task/executeCannedScript) is a temporary admin scratchpad hook whose most recent contents were a one-off Gmail Reply-To experiment for b/510340944 (now resolved). Leaving an ad-hoc scratchpad endpoint permanently wired in production accumulates stale experimental code (including an uninjected invoiceReplyToEmailAddress field and a Thread.sleep(1000) call) and attracts repeated external scanner reports against historical versions of the class. - Delete CannedScriptExecutionAction and remove its Dagger binding in RequestComponent and routing entry in routing.txt. - Remove the now-unused @parameter("replyTo") and @parameter("receiver") providers from BatchModule. - Remove the experimental 4-argument GmailClient constructor added for b/510340944 and simplify the now-redundant null check on outgoingEmailAddressWithUsername in GmailClient.toMimeMessage(). BUG= http://b/591119551
CydeWeys
enabled auto-merge
December 4, 2026 21:21
This branch has not been deployed
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.
CannedScriptExecutionAction(/_dr/task/executeCannedScript) is a temporary admin scratchpad hook whose most recent contents were a one-off GmailReply-Toexperiment for b/510340944 (now resolved). Leaving an ad-hoc scratchpad endpoint permanently wired in production accumulates stale experimental code (including an uninjectedinvoiceReplyToEmailAddressfield and aThread.sleep(1000)call) and attracts repeated external scanner reports against historical versions of the class (e.g., #3011 / #3085).CannedScriptExecutionActionand remove its Dagger binding inRequestComponentand routing entry inrouting.txt.@Parameter("replyTo")and@Parameter("receiver")providers fromBatchModule.GmailClientconstructor added for b/510340944 and simplify the now-redundant null check onoutgoingEmailAddressWithUsernameinGmailClient.toMimeMessage().BUG= http://b/591119551
This change is