Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/daily_collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: Daily Collection
on:
workflow_dispatch:
inputs:
slack_channel:
description: Slack channel to post the error message to if the builds fail.
required: false
default: "sdv-alerts-debug"
max_days_pypi:
description: 'Maximum number of days to collect, starting from today for PyPI.'
required: false
Expand Down Expand Up @@ -80,11 +76,3 @@ jobs:
- name: Install pip and dependencies
run: |
uv pip install -e .[dev]
- name: Slack alert if failure
run: |
uv run python -m pymetrics.slack_utils \
-r ${{ github.run_id }} \
-c ${{ github.event.inputs.slack_channel || 'sdv-alerts' }} \
-m 'Daily Collection PyMetrics failed :fire: :dumpster-fire: :fire:'
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
13 changes: 0 additions & 13 deletions .github/workflows/daily_summarization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Daily Summarization

on:
workflow_dispatch:
inputs:
slack_channel:
description: Slack channel to post the error message to if the summarize job fail.
required: false
default: "sdv-alerts-debug"
schedule:
- cron: '0 1 * * *'

Expand Down Expand Up @@ -67,11 +62,3 @@ jobs:
- name: Install pip and dependencies
run: |
uv pip install .[dev]
- name: Slack alert if failure
run: |
uv run python -m pymetrics.slack_utils \
-r ${{ github.run_id }} \
-c ${{ github.event.inputs.slack_channel || 'sdv-alerts' }} \
-m 'Daily Summarization PyMetrics failed :fire: :dumpster-fire: :fire:'
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
105 changes: 0 additions & 105 deletions pymetrics/slack_utils.py

This file was deleted.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ include = ['pymetrics', 'pymetrics.*']
dev = [
"ruff>=0.9.8",
"invoke",
"slack-sdk>=3.34,<4.0",
]
test = [
'pytest >= 8.1.1',
Expand Down