Skip to content

Commit

Permalink
Merging main branch into staging branch
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 16, 2024
2 parents 72e7ce1 + 9c87d94 commit a8e278e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion backend/layers/processing/upload_failures/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def get_failure_slack_notification_message(
"type": "section",
"text": {
"type": "mrkdwn",
"text": f"Dataset processing job failed! @sc-oncall-eng please follow the [triage steps](https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y)\n"
"text": f"Dataset processing job failed! Please follow the triage steps: https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y\n"
f"*Owner*: {collection_owner}\n"
f"*Collection URL*: {collection_url}\n"
f"*Collection Version URL*: {collection_version_url}\n"
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/processing/test_handle_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def test_get_failure_slack_notification_message_with_dataset_version_id_none(
"type": "section",
"text": {
"type": "mrkdwn",
"text": f"Dataset processing job failed! @sc-oncall-eng please follow the [triage steps](https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y)\n"
"text": f"Dataset processing job failed! Please follow the triage steps: https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y\n"
"*Owner*: \n"
f"*Collection URL*: https://cellxgene.cziscience.com/collections/collection123\n"
f"*Collection Version URL*: https://cellxgene.cziscience.com/collections/{collection_version_id}\n"
Expand Down Expand Up @@ -320,7 +320,7 @@ def test_get_failure_slack_notification_message_with_dataset_not_found(
"type": "section",
"text": {
"type": "mrkdwn",
"text": f"Dataset processing job failed! @sc-oncall-eng please follow the [triage steps](https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y)\n"
"text": f"Dataset processing job failed! Please follow the triage steps: https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y\n"
"*Owner*: \n"
f"*Collection URL*: https://cellxgene.cziscience.com/collections/collection123\n"
f"*Collection Version URL*: https://cellxgene.cziscience.com/collections/{collection_version_id}\n"
Expand Down Expand Up @@ -386,7 +386,7 @@ def test_get_failure_slack_notification_message_with_missing_collection(
"type": "section",
"text": {
"type": "mrkdwn",
"text": f"Dataset processing job failed! @sc-oncall-eng please follow the [triage steps](https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y)\n"
"text": f"Dataset processing job failed! Please follow the triage steps: https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y\n"
f"*Owner*: \n"
f"*Collection URL*: https://cellxgene.cziscience.com/collections/{collection_id}\n"
f"*Collection Version URL*: https://cellxgene.cziscience.com/collections/{collection_version_id}\n"
Expand Down Expand Up @@ -446,7 +446,7 @@ def test_get_failure_slack_notification_message_with_dataset_and_collection(
"type": "section",
"text": {
"type": "mrkdwn",
"text": f"Dataset processing job failed! @sc-oncall-eng please follow the [triage steps](https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y)\n"
"text": f"Dataset processing job failed! Please follow the triage steps: https://docs.google.com/document/d/1n5cngEIz-Lqk9737zz3makXGTMrEKT5kN4lsofXPRso/edit#bookmark=id.3ofm47y0709y\n"
f"*Owner*: {owner}\n"
f"*Collection URL*: https://cellxgene.cziscience.com/collections/{collection_id}\n"
f"*Collection Version URL*: https://cellxgene.cziscience.com/collections/{collection_version_id}\n"
Expand Down

0 comments on commit a8e278e

Please sign in to comment.