Skip to content

Conversation

@fabienfleureau
Copy link
Collaborator

@fabienfleureau fabienfleureau commented Jan 26, 2026

Summary

Issue: QOV-1504

Adds a git webhook status badge to service settings pages, showing whether auto-deploy webhooks are properly configured.

Changes

  • New GitWebhookStatusBadge component with states: Active, Not Configured, Misconfigured, Unable to Verify
  • New useGitWebhookStatus hook wrapping the API call
  • Badge displayed in settings for: Application, Job (git source), Terraform, Helm (git source)
  • Added tests for component and hook (10 tests)

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 :

You are going to thank you later if it contains tests

@fabienfleureau fabienfleureau force-pushed the feat/QOV-1504-git-webhook-status-badge branch from c7906c5 to 554108f Compare January 26, 2026 13:24
@fabienfleureau fabienfleureau force-pushed the feat/QOV-1504-git-webhook-status-badge branch from 554108f to 9686983 Compare January 26, 2026 13:45
@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

❌ Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.62%. Comparing base (0f3e58b) to head (9686983).
⚠️ Report is 1 commits behind head on staging.

Files with missing lines Patch % Lines
...-webhook-status-badge/git-webhook-status-badge.tsx 92.85% 0 Missing and 1 partial ⚠️
...ui/page-settings-general/page-settings-general.tsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #2331      +/-   ##
===========================================
- Coverage    47.74%   47.62%   -0.12%     
===========================================
  Files         1254     1258       +4     
  Lines        22720    23045     +325     
  Branches      6637     6750     +113     
===========================================
+ Hits         10847    10975     +128     
- Misses        9808     9978     +170     
- Partials      2065     2092      +27     
Flag Coverage Δ
unittests 47.62% <89.47%> (-0.12%) ⬇️

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.

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.

3 participants