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

Poll PRs even after they're overdue #20

Merged
merged 1 commit into from May 20, 2015

Conversation

rtyley
Copy link
Member

@rtyley rtyley commented May 20, 2015

Users found it understandably confusing that Prout wasn't polling PRs after they were overdue:

guardian/membership-frontend#538 (comment)

Note that for guardian/membership-frontend, the post-deploy hook from RiffRaff hits Prout after the deploy 'completes', but I think sometimes the site is still serving old content (due to caching and Fastly) a little bit longer. When Prout scanned the site after the deploy, it still had the old commit (guardian/membership-frontend@b43457b7):

2015-05-20T13:46:05.746475+00:00 app[web.1]: [ESC[37minfoESC[0m] application - guardian/membership-frontend has 1 active snapshots : Map(PROD -> b43457b7)

https://riffraff.gutools.co.uk/deployment/view/9276b501-68a4-491c-9a18-844fa73289c4#

[14:45:58] task ResumeAlarmNotifications Resuming Alarm Notifications - group will scale on any configured alarms

We have a cache time of 1 minute on the front page, so it's not too surprising that it would be serving the old version of the site - RiffRaff just feels that the deploy is done, because the ASG/ELB have stabilised, but we have a slightly different definition :-)

cc @philwills @davidrapson

Users found it confusing that Prout wasn't polling PRs after they were
overdue:

guardian/membership-frontend#538 (comment)

Note that for guardian/membership-frontend, the post-deploy hook from
RiffRaff hits Prout after the deploy 'completes', but I think sometimes
the site is still serving old content (due to caching and Fastly) a little
bit longer. When Prout scanned the site after the deploy, it still had the
old commit:

2015-05-20T13:46:05.746475+00:00 app[web.1]: [ESC[37minfoESC[0m] application - guardian/membership-frontend has 1 active snapshots : Map(PROD -> b43457b7)

https://riffraff.gutools.co.uk/deployment/view/9276b501-68a4-491c-9a18-844fa73289c4#

[14:45:58] task ResumeAlarmNotifications Resuming Alarm Notifications - group will scale on any configured alarms

We have a cache time of 1 minute on the front page, so it's not too
surprising that it would be serving the old version of the site - RiffRaff
just feels that the deploy is done, because the ASG/ELB have stabilised,
but we have a slightly different definition :-)
@philwills
Copy link

Not familiar enough with the code to have much of an opinion on correctness, but definitely a 👍 for the sentiment.

rtyley added a commit that referenced this pull request May 20, 2015
…rdue

Poll PRs even after they're overdue
@rtyley rtyley merged commit aaa0ad0 into master May 20, 2015
@rtyley rtyley deleted the poll-prs-even-after-they-are-overdue branch May 20, 2015 16:06
@prout-bot
Copy link
Contributor

Overdue on PROD (merged by @rtyley 10 minutes and 2 seconds ago) What's gone wrong?

@prout-bot
Copy link
Contributor

Seen on PROD (merged by @rtyley 32 minutes and 41 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants