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

fix(betterUptime): make better uptime on success #1075

Merged
merged 3 commits into from
Jan 3, 2024

Conversation

kishore03109
Copy link
Contributor

@kishore03109 kishore03109 commented Dec 21, 2023

Problem

Currently our better uptime is done on create, but it should be on success instead.

Closes [insert issue #]

Solution

shifting the creation of this to post success, not during the launch process.

Breaking Changes

  • Yes - this PR contains breaking changes
    • Details ...
  • No - this PR is backwards compatible with ALL of the following feature flags in this doc

Tests

  • create site alunch in staging, notice that better uptime monitor was created

@kishore03109 kishore03109 marked this pull request as draft December 21, 2023 07:54
@kishore03109 kishore03109 force-pushed the feat/betterUptimeOnSuccess branch from a0358e3 to 2cae2db Compare January 3, 2024 04:34
@kishore03109 kishore03109 requested a review from a team January 3, 2024 04:34
@kishore03109 kishore03109 marked this pull request as ready for review January 3, 2024 04:34
Copy link
Contributor

Choose a reason for hiding this comment

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

We're still attempting to create the monitor in lines 310-311
( // Create better uptime monitor await this.createMonitor(launchResult.value.primaryDomainSource))
,

this should be removed right!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ps forgot to remove

Copy link
Contributor

@alexanderleegs alexanderleegs left a comment

Choose a reason for hiding this comment

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

lgtm

@kishore03109 kishore03109 merged commit 4f3133e into develop Jan 3, 2024
11 checks passed
@mergify mergify bot deleted the feat/betterUptimeOnSuccess branch January 3, 2024 07:21
alexanderleegs pushed a commit that referenced this pull request Jan 4, 2024
* fix(betterUptime): make better uptime on success

* fix(betteruptime): only create alarm iff success

* fix(formsgsl): rm redundant call
This was referenced Jan 10, 2024
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.

2 participants