-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add retry count mechanism and virus scan check to google drive transmission #205
base: main
Are you sure you want to change the base?
Conversation
bbaf55f
to
32bfc76
Compare
build.gradle
Outdated
} else { | ||
implementation "org.codeforamerica.platform:form-flow:${formFlowLibraryVersion}" | ||
println "📚Using form flow library ${formFlowLibraryVersion}" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this change is temporary and I will reverse this once the FFL changes have been released.
if (!status.equals(TransmissionStatus.TRANSMITTING)) { | ||
int retryCount = transmission.getRetryCount(); | ||
retryCount++; | ||
transmission.setRetryCount(retryCount); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: if the retry count is == to the max, should we set status differently, or keep it as QUEUED? It will not get picked up again, but maybe the status should reflect this as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How should we notify ourselves if an transmission fails to send after 5 tries? We should put in some code here that causes us to be alerted. Maybe an ERROR with a specific message and then a Datadog monitor for that message??? @stabai @spokenbird @analoo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's easiest if there's a logging level that always triggers an alert. Do we have something like CRITICAL
that I can set up to do that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm... no CRITICAL that I can see.
0fdb164
to
65a6ff5
Compare
139d785
to
4e6e82b
Compare
Addresses: https://www.pivotaltracker.com/story/show/187339289 and https://www.pivotaltracker.com/story/show/187212763
Relies on this change getting into form flow library: codeforamerica/form-flow#542