Post not sent to the Slack channel
https://stackoverflow.com/questions/57965526/how-to-skip-errors-in-a-loop-for-julia
This question doesn't appear in the slack. Either the tag was edited, or there was a weird time issue. (edge case related to the time calculation).
If the question is posted exactly 30 minutes before the github action runs (unlikely), or as you mention if the tag is edited or added after the action runs, the current implementation will not capture it. Maybe what should happen is read the last hour of Slack channel posts by the bot and check what posts are missing from the last hour of Julia StackOverflow questions and post those; and run this script every 30 minutes or so. Thoughts?
Yes, that’s likely the right solution. All I would need todo is build a basic logging system. I can even check questions in the last 32 minutes, see if any of them are in my log, if not, post them.
Best, Logan Kilpatrick
On Sep 17, 2019, at 6:09 PM, Dheepak Krishnamurthy [email protected] wrote:
If the question is posted exactly 30 minutes before the github action runs (unlikely), or as you mention if the tag is edited or added after the action runs, the current implementation will not capture it. Maybe what should happen is read the last hour of Slack channel posts by the bot and check what posts are missing from the last hour of Julia StackOverflow questions and post those; and run this script every 30 minutes or so. Thoughts?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
The issue ends up being that the environment gets cleaned after an action is done, so I would have to remotely commit the updated log file.
Best, Logan Kilpatrick
On Sep 17, 2019, at 6:24 PM, Logan Kilpatrick [email protected] wrote:
Yes, that’s likely the right solution. All I would need todo is build a basic logging system. I can even check questions in the last 32 minutes, see if any of them are in my log, if not, post them.
Best, Logan Kilpatrick
On Sep 17, 2019, at 6:09 PM, Dheepak Krishnamurthy [email protected] wrote:
If the question is posted exactly 30 minutes before the github action runs (unlikely), or as you mention if the tag is edited or added after the action runs, the current implementation will not capture it. Maybe what should happen is read the last hour of Slack channel posts by the bot and check what posts are missing from the last hour of Julia StackOverflow questions and post those; and run this script every 30 minutes or so. Thoughts?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Might consider using a firebase server in order to avoid the overhead of committing and such.
The opposite can also be true. It’s possible that there’s a post that is sent twice is posted near the top the hour. It’s happend twice.