Commit graph

4219 commits

Author SHA1 Message Date
GitHub Actions
d5ce1b8d6c Release oncall Helm chart 1.7.0 2024-06-11 18:05:59 +00:00
GitHub Actions
0f03542ef6 Release oncall Helm chart 1.7.0 2024-06-11 18:04:02 +00:00
GitHub Actions
8aa3084c80 Release oncall Helm chart 1.7.0 2024-06-11 17:40:47 +00:00
Joey Orlando
7682aad907
Merge pull request #4504 from grafana/dev
dev -> main
2024-06-11 13:37:42 -04:00
Joey Orlando
c315299762
temporarily don't parallelize tests 2024-06-11 11:53:06 -04:00
Joey Orlando
bece6e7ae4
update pytest-xdist dist setting to loadfile
trying to address this
https://github.com/grafana/oncall-private/actions/runs/9467272175/job/26083070154#step:8:853
2024-06-11 11:12:29 -04:00
Joey Orlando
a4e399cf07
fix flaky tests + increase runner size when building docker image (#4502)
## Which issue(s) this PR closes

Closes https://github.com/grafana/oncall-private/issues/2733
2024-06-11 10:53:17 -04:00
Dominik Broj
9a011ea745
Fix alarming JS errors (#4494)
# What this PR does
Fix alarming errors reported to Faro

## Which issue(s) this PR closes

Closes https://github.com/grafana/oncall/issues/4492

<!--
*Note*: if you have more than one GitHub issue that this PR closes, be
sure to preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-06-11 09:31:24 +00:00
Joey Orlando
518e22705a
fix Snyk action 2024-06-10 15:52:07 -04:00
Joey Orlando
8686ee30ac
update build-engine-docker-image-and-publish-to-dockerhub actions workflow 2024-06-10 15:49:33 -04:00
Joey Orlando
49d20f1a7e
bump uwsgi to 2.0.26 + Python to 3.12.3 (#4495)
# What this PR does

- bumps `uwsgi` to latest version (`2.0.26`), which unblocks us from
bumping Python to 3.12
- bumps Python to 3.12.3
- refactor the Snyk GitHub Actions workflow to use the composable
actions for installed frontend and backend dependencies
- fixes several `AttributeError`s in our tests that went from a warning
to an error in Python 3.12 (see
https://github.com/python/cpython/issues/100690)

# Which issue(s) this PR closes

Closes #4358
Closes https://github.com/grafana/oncall/issues/4387
2024-06-10 15:33:37 -04:00
Joey Orlando
4d3e254e3a
updating some github action versions (#4490) 2024-06-07 11:24:35 -04:00
Joey Orlando
f07e2207c5
update github action versions 2024-06-07 11:09:07 -04:00
Joey Orlando
6309bf0d41
update github actions versions 2024-06-07 11:07:29 -04:00
Dominik Broj
2d2df178a3
add missing deps, dont use mobx-react-lite (#4487)
# What this PR does

add missing deps, dont use mobx-react-lite


Related to: https://github.com/grafana/irm/issues/2

<!--
*Note*: if you have more than one GitHub issue that this PR closes, be
sure to preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-06-07 13:59:00 +00:00
Dominik Broj
7728b15b46
Revert using backticks in insights queries (#4488)
# What this PR does

Don't use backticks to fix queries that include brackets, more details
here:
https://raintank-corp.slack.com/archives/C0229FD3CE9/p1717667956195839


Closes [issue link here]

<!--
*Note*: if you have more than one GitHub issue that this PR closes, be
sure to preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-06-07 13:58:07 +00:00
dependabot[bot]
ea8deede00
Bump tornado from 6.4 to 6.4.1 in /engine (#4485)
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.4 to
6.4.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst">tornado's
changelog</a>.</em></p>
<blockquote>
<h1>Release notes</h1>
<p>.. toctree::
:maxdepth: 2</p>
<p>releases/v6.4.1
releases/v6.4.0
releases/v6.3.3
releases/v6.3.2
releases/v6.3.1
releases/v6.3.0
releases/v6.2.0
releases/v6.1.0
releases/v6.0.4
releases/v6.0.3
releases/v6.0.2
releases/v6.0.1
releases/v6.0.0
releases/v5.1.1
releases/v5.1.0
releases/v5.0.2
releases/v5.0.1
releases/v5.0.0
releases/v4.5.3
releases/v4.5.2
releases/v4.5.1
releases/v4.5.0
releases/v4.4.3
releases/v4.4.2
releases/v4.4.1
releases/v4.4.0
releases/v4.3.0
releases/v4.2.1
releases/v4.2.0
releases/v4.1.0
releases/v4.0.2
releases/v4.0.1
releases/v4.0.0
releases/v3.2.2
releases/v3.2.1
releases/v3.2.0
releases/v3.1.1
releases/v3.1.0
releases/v3.0.2
releases/v3.0.1
releases/v3.0.0
releases/v2.4.1
releases/v2.4.0
releases/v2.3.0</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2a0e1d13b5"><code>2a0e1d1</code></a>
Merge pull request <a
href="https://redirect.github.com/tornadoweb/tornado/issues/3388">#3388</a>
from bdarnell/release-641</li>
<li><a
href="b7af4e8f5e"><code>b7af4e8</code></a>
Release notes and version bump for version 6.4.1</li>
<li><a
href="d65f6e71a7"><code>d65f6e7</code></a>
Merge pull request <a
href="https://redirect.github.com/tornadoweb/tornado/issues/3387">#3387</a>
from bdarnell/chunked-parsing</li>
<li><a
href="8d721a877d"><code>8d721a8</code></a>
httputil: Only strip tabs and spaces from header values</li>
<li><a
href="7786f09f84"><code>7786f09</code></a>
Merge pull request <a
href="https://redirect.github.com/tornadoweb/tornado/issues/3386">#3386</a>
from bdarnell/curl-crlf</li>
<li><a
href="fb119c767e"><code>fb119c7</code></a>
http1connection: Stricter handling of transfer-encoding</li>
<li><a
href="b0ffc58e02"><code>b0ffc58</code></a>
curl_httpclient,http1connection: Prohibit CR and LF in headers</li>
<li><a
href="0efa9a42b4"><code>0efa9a4</code></a>
Merge pull request <a
href="https://redirect.github.com/tornadoweb/tornado/issues/3385">#3385</a>
from bdarnell/update-black</li>
<li><a
href="2757c6e487"><code>2757c6e</code></a>
Merge pull request <a
href="https://redirect.github.com/tornadoweb/tornado/issues/3384">#3384</a>
from tornadoweb/dependabot/pip/requests-2.32.2</li>
<li><a
href="291d1b661b"><code>291d1b6</code></a>
*: Update black</li>
<li>Additional commits viewable in <a
href="https://github.com/tornadoweb/tornado/compare/v6.4.0...v6.4.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tornado&package-manager=pip&previous-version=6.4&new-version=6.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/grafana/oncall/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-07 13:57:16 +00:00
Ildar Iskhakov
5ffbc18dc6
Remove Simulate Incident button (#4479)
# What this PR does

Removes "Simulate Incident" button which is replaced by "Send Demo
Alert" button

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2024-06-07 13:54:45 +00:00
Ildar Iskhakov
a9ff1cbc33
Handle SlackAPIRatelimitError in perform_notification (#4486)
# What this PR does

Fixes retrying perform_notification task when Slack API returns 429
(Ratelimited)
See
[thread](https://raintank-corp.slack.com/archives/C025VMT6SPK/p1717725432075029)
for more details

## Which issue(s) this PR closes

Closes [issue link here]

<!--
*Note*: if you have more than one GitHub issue that this PR closes, be
sure to preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-06-07 13:54:45 +00:00
Vadim Stepanov
f47f9c29fd
Update resolution note message shortcut instruction (#4482)
# What this PR does

Updates the instruction that pops up when clicking the `Add Resolution
notes` button in Slack with an up-to-date GIF.

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-06-07 13:54:45 +00:00
Joey Orlando
6008963a04
update github actions workflows (#4483)
# What this PR does

Minor final updates to the new GitHub Actions workflows
2024-06-06 10:42:53 -04:00
Joey Orlando
eaf31b1905
cleanup some unused images 2024-06-06 10:02:40 -04:00
Joey Orlando
d669f30e3c
scratch that.. add back LICENSE 2024-06-06 09:58:26 -04:00
Joey Orlando
af60d5c030
remove LICENSE file as it is inferred from grafana/.github org repo 2024-06-06 09:57:18 -04:00
Joey Orlando
033356fad3
remove CODE_OF_CONDUCT.md and LICENSING.md files (#4452)
# What this PR does

It appears that we have Code of Conducts defined for all repositories in
the `grafana` organization (see
[here](https://github.com/grafana/irm?tab=coc-ov-file) for an example
repo which doesn't define any `CODE_OF_CONDUCT.md` but still has one
show up in the repo's GitHub UI, see screenshot below 👇):
<img width="913" alt="Screenshot 2024-06-03 at 14 34 01"
src="https://github.com/grafana/oncall/assets/9406895/242337ab-97d6-46f1-96c4-ea8cdeef6ddd">


Also, `LICENSING.md` seems to be not relevant since we have a `LICENSE`
file? (which is the file that seems to be auto-pulled-in by GitHub's UI
👇):
<img width="995" alt="Screenshot 2024-06-03 at 14 33 06"
src="https://github.com/grafana/oncall/assets/9406895/3aa0ef08-c09b-4dc7-9187-a5bf955c4ce6">
2024-06-06 09:55:45 -04:00
Joey Orlando
462cf3b00d
🪦 RIP Drone 🪦 (#4478)
# What this PR does

Related to https://github.com/grafana/oncall-private/issues/2691
2024-06-06 13:22:56 +00:00
Rares Mardare
b9d344c932
Fix alert groups automatic refresh (#4463)
# What this PR does

- Fixes AG auto-refresh (every 15s)
- Reflect correct data on the UI after doing a bulk update
- Few tweaks regarding UX around bulk updates/loading
- Added some missing typescript support

## Which issue(s) this PR closes

Closes https://github.com/grafana/oncall/issues/4454
2024-06-06 08:29:08 +00:00
clemthom
28190fe6b7
add exotel call provider (#4433)
# What this PR does

Added support for [Exotel](https://exotel.com/) call provider. 

Features:

- Sending verification code through SMS
- Making test call
- Making notification call


## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-06-06 06:19:02 +00:00
Joey Orlando
6a92e88fe7
v1.6.2 2024-06-05 14:44:04 -04:00
Joey Orlando
2e1021573e
debugging push to gcom step 2024-06-05 14:41:29 -04:00
Joey Orlando
8cce0d9323
Merge pull request #4475 from grafana/helm-release/1.6.2
Merge: Release oncall Helm chart 1.6.2
2024-06-05 14:33:50 -04:00
GitHub Actions
f0232420f7 Release oncall Helm chart 1.6.2 2024-06-05 18:26:27 +00:00
Joey Orlando
dda8e54e7c
v1.6.2 2024-06-05 14:25:31 -04:00
Joey Orlando
3ff8f07b65
yaml linting 2024-06-05 14:24:04 -04:00
Joey Orlando
507f28db59
v1.6.2 2024-06-05 14:17:07 -04:00
Joey Orlando
e9e55f05b1
update build-engine-docker-image github actions workflow 2024-06-05 14:10:58 -04:00
Joey Orlando
2c0e02eba6
update build-engine-docker-image github actions workflow 2024-06-05 14:07:12 -04:00
Joey Orlando
be0b00f2a8
github actions workflows - wip 2024-06-05 13:55:12 -04:00
Joey Orlando
705bdb1d5a
github actions workflows - wip 2024-06-05 13:46:07 -04:00
Joey Orlando
5d4cf4cae9
v1.6.2 2024-06-05 12:34:54 -04:00
Joey Orlando
cdd8354702
update on release published permissions 2024-06-05 12:33:18 -04:00
Joey Orlando
428780aab9
v1.6.2 2024-06-05 12:27:24 -04:00
Joey Orlando
8910a9abd2
Drone -> GitHub Actions migration (#4466)
# What this PR does

Related to https://github.com/grafana/oncall-private/issues/2691
2024-06-05 12:25:53 -04:00
Innokentii Konstantinov
805d4421bd
Support grafana escalate (#4453)
# What this PR does
This PR adds support for **/grafana escalate** command alongside with
**/escalate.**
2024-06-05 05:51:26 +00:00
Joey Orlando
1e8a44f613
Merge pull request #4461 from grafana/helm-release/1.6.1
Merge: Release oncall Helm chart 1.6.1
2024-06-04 15:43:11 -04:00
GitHub Actions
17be4a351c Release oncall Helm chart 1.6.1 2024-06-04 19:18:36 +00:00
Vadim Stepanov
b6b8bb2296
Merge pull request #4460 from grafana/dev
dev to main
2024-06-04 20:17:25 +01:00
Vadim Stepanov
f40634a6eb
only validate existing settings (#4459)
# What this PR does

Only validate live settings in `AVAILABLE_NAMES` to avoid issues when a
live setting is renamed (one of the settings was renamed in
https://github.com/grafana/oncall/pull/4287 earlier)

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-06-04 19:06:59 +00:00
Vadim Stepanov
b3a56cdffc
Reduce size of payload on /escalate Slack command (#4458) 2024-06-04 18:11:15 +00:00
Rares Mardare
038d78df2a
Show correct swap request dates (#4456)
# What this PR does

Part of https://github.com/grafana/oncall/issues/4428

Additionally it fixes
- NPE within `SchedulePersonal`
- changes the line-break to use `contrastText` instead of `main` (from
grafana theme)
2024-06-04 14:12:16 +00:00