Skip to content

feat: slack reporting#68

Open
redpanda-f wants to merge 11 commits intomainfrom
feat/redpanda/slack_reporting
Open

feat: slack reporting#68
redpanda-f wants to merge 11 commits intomainfrom
feat/redpanda/slack_reporting

Conversation

@redpanda-f
Copy link
Collaborator

It bases itself on #66, merge that before so diff is smaller

redpanda-f and others added 9 commits February 27, 2026 07:21
…step (#67)

* Initial plan

* Consolidate AWS CLI install and S3 upload into a single conditional step

Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: redpanda-f <181817029+redpanda-f@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 27, 2026 13:15
@redpanda-f redpanda-f self-assigned this Feb 27, 2026
@FilOzzy FilOzzy added this to FOC Feb 27, 2026
@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Feb 27, 2026
@redpanda-f redpanda-f added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Feb 27, 2026
@redpanda-f redpanda-f moved this from 📌 Triage to ⌨️ In Progress in FOC Feb 27, 2026
@redpanda-f redpanda-f added this to the M4.2: mainnet GA milestone Feb 27, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Slack notifications for CI runs, including deep links to uploaded run artifacts, to improve visibility into nightly/CI health and debugging.

Changes:

  • Introduces a new Notify Slack workflow that runs on workflow_run completion of the CI workflow and posts a structured Slack message.
  • Updates the CI workflow to run nightly on a cron schedule.
  • Adds AWS/S3 setup and a post-run upload step to sync ~/.foc-devnet/state/latest to S3 for later inspection.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/notify-slack.yml New workflow that queries CI job results and posts a Slack message with job status + S3 artifact links.
.github/workflows/ci.yml Adds nightly schedule, AWS/S3 bootstrap, S3 upload of run state, and adjusts start invocation.

Comment on lines +372 to +382
# Upload state/latest directory to S3 for post-run inspection
# Path: s3://<CI_LOGS_BUCKET>/runs/<branch>/<run_id>/<run_attempt>/
# Requires: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION secrets
# and CI_LOGS_BUCKET repository variable.
- name: "EXEC: {Install AWS CLI and upload state/latest to S3}, independent"
if: always()
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
CI_LOGS_BUCKET: ${{ secrets.CI_LOGS_BUCKET }}
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

The comments above this step say CI_LOGS_BUCKET is a "repository variable" and mention "AWS_REGION" secrets, but the workflow actually sources CI_LOGS_BUCKET and region from secrets.* (and uses AWS_DEFAULT_REGION). Please align the comments with the actual configuration to avoid confusion during setup/rotation.

Copilot uses AI. Check for mistakes.
redpanda-f and others added 2 commits February 27, 2026 13:20
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: ⌨️ In Progress

Development

Successfully merging this pull request may close these issues.

3 participants