Skip to content

Conversation

@fabienfleureau
Copy link
Collaborator

@fabienfleureau fabienfleureau commented Jan 27, 2026

Summary

Issue: QOV-1504
User can directly see auto-deploy status on header of their services
There is also the webhook status

Screenshots / Recordings

image image image image

Testing

  • Changes tested locally in the relevant Console's pages and Storybooks
  • yarn test or yarn test -u (if you need to regenerate snapshots)
  • yarn format
  • yarn lint

PR Checklist

  • I followed naming, styling, and TypeScript rules (see .cursor/rules)
  • I performed a self-review (diff inspected, dead code removed)
  • I titled the PR using Conventional Commits with a scope when possible (e.g. feat(service): add new Terraform service) - required for semantic-release
  • I only kept necessary comments, written in English (watch for useless AI comments)
  • I involved a designer to validate UI changes if I am not a designer
  • I covered new business logic with tests (unit)
  • I confirmed CI is green (Codecov red can be accepted)
  • I reviewed and executed locally any AI-assisted code

@RemiBonnet
Copy link
Member

Qovery Preview

Qovery can create a Preview Environment for this PR.
To trigger its creation, please post a comment with one of the following command.

Command Blueprint environment
/qovery preview 28c47145-c8e7-4b9d-8d9e-c65c95b48425 staging
/qovery preview cc1de7de-94e5-40f8-8e45-bc8986d9dfec storybook
/qovery preview {all|UUID1,UUID2,...} To preview multiple environments

This comment has been generated from Qovery AI 🤖.
Below, a word from its wisdom :

Take rest sometimes

@fabienfleureau fabienfleureau force-pushed the feat/QOV-1504/auto-deploy-badge branch from ee5c4e4 to 30d4c8d Compare January 27, 2026 16:53
@codecov
Copy link

codecov bot commented Jan 27, 2026

Codecov Report

❌ Patch coverage is 5.88235% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.41%. Comparing base (1793274) to head (30d4c8d).
⚠️ Report is 1 commits behind head on staging.

Files with missing lines Patch % Lines
...re/src/lib/auto-deploy-badge/auto-deploy-badge.tsx 8.33% 11 Missing ⚠️
...ges/application/src/lib/ui/container/container.tsx 0.00% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #2338      +/-   ##
===========================================
+ Coverage    47.78%   49.41%   +1.62%     
===========================================
  Files         1267      691     -576     
  Lines        23070    15000    -8070     
  Branches      6781     4487    -2294     
===========================================
- Hits         11025     7412    -3613     
+ Misses        9945     6194    -3751     
+ Partials      2100     1394     -706     
Flag Coverage Δ
unittests 49.41% <5.88%> (+1.62%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fabienfleureau fabienfleureau marked this pull request as ready for review January 27, 2026 17:01
Copy link
Contributor

@rmnbrd rmnbrd left a comment

Choose a reason for hiding this comment

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

The border of the Auto-deploy badge is different from the border color of the other elements of the section. Is that expected?

Image

Comment on lines +68 to +74
config.color === 'green'
? 'text-green-500'
: config.color === 'yellow'
? 'text-yellow-500'
: config.color === 'red'
? 'text-red-500'
: 'text-neutral-350'
Copy link
Contributor

Choose a reason for hiding this comment

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

@fabienfleureau Could you please directly put into the webhookStatusConfig object the color-related classname instead of having this condition?

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.

4 participants