Skip to content

chore(ci): align workflow structure#67

Merged
igorsatsyuk merged 7 commits into
mainfrom
chore/ci-align-workflow
May 31, 2026
Merged

chore(ci): align workflow structure#67
igorsatsyuk merged 7 commits into
mainfrom
chore/ci-align-workflow

Conversation

@igorsatsyuk
Copy link
Copy Markdown
Owner

Summary

  • split CI into dedicated jobs: backend, sonar-backend, notify-telegram
  • add reusable Telegram message composer script for aggregated job statuses
  • add Sonar Quality Gate wait/report script and wire it into CI

Notes

  • repository remains single-backend; no frontend/blockchain job split was introduced

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 31, 2026 14:39
Copy link
Copy Markdown

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

This PR restructures the GitHub Actions CI pipeline for this single-backend repository by separating backend build/test, Sonar analysis + Quality Gate reporting, and Telegram notifications into dedicated jobs, with reusable Python helper scripts for Sonar reporting and Telegram message composition.

Changes:

  • Split CI into backend, sonar-backend, and notify-telegram jobs with explicit dependencies.
  • Add .github/scripts/sonar_quality_gate_report.py to wait for Sonar CE completion, fetch measures, and publish a Quality Gate summary to the Actions step summary.
  • Add .github/scripts/compose_telegram_message.py to compose an aggregated Telegram notification from job results.

Reviewed changes

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

File Description
.github/workflows/ci.yml Restructures CI jobs, wires in Sonar analysis + QG wait, and updates Telegram notification flow.
.github/scripts/sonar_quality_gate_report.py New helper to poll Sonar task completion, fetch Quality Gate + measures, and write a summary.
.github/scripts/compose_telegram_message.py New helper to build a single Telegram message summarizing overall and per-job statuses.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

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

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

Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/scripts/compose_telegram_message.py
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

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

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

Comment thread .github/workflows/ci.yml
Comment thread .github/scripts/sonar_quality_gate_report.py
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

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

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

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread .github/scripts/compose_telegram_message.py
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/ci.yml
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

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

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

@igorsatsyuk igorsatsyuk self-assigned this May 31, 2026
@igorsatsyuk igorsatsyuk merged commit 0f78c60 into main May 31, 2026
9 checks passed
@igorsatsyuk igorsatsyuk deleted the chore/ci-align-workflow branch May 31, 2026 15:34
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