Skip to content

feat(audit-logs): label Operator update events - #3104

Merged
pggb25 merged 1 commit into
stagingfrom
feat/audit-logs-operator-update
Oct 13, 2026
Merged

pggb25 merged 1 commit into
stagingfrom
feat/audit-logs-operator-update

Conversation

@pggb25

@pggb25 pggb25 commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Bump qovery-typescript-axios to 1.1.1010 for the OPERATOR_UPDATE and MAINTENANCE_OPERATOR audit event types. They read "Operator Update" and "Maintenance · Operator Update", with the icons of their TRIGGER_DEPLOY and MAINTENANCE counterparts, and show up in the Event filter.

Summary

Follow-up of #3098. q-core now records Qovery Operator updates with their own audit event types instead of reusing the cluster ones:

  • OPERATOR_UPDATE: public route, actor is the user (was TRIGGER_DEPLOY).
  • MAINTENANCE_OPERATOR: Qovery admin route, actor "Qovery Agent" (was MAINTENANCE).
    This PR bumps qovery-typescript-axios to 1.1.1010 and labels them in the audit logs:
    | Event | Before | After |
    | --- | --- | --- |
    | User Operator update | Trigger Deploy | Operator Update (rocket icon) |
    | Admin Operator update | Maintenance | Maintenance · Operator Update (wrench icon)

Issue:

Screenshots / Recordings

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

Summary by cubic

Labels Operator update events in the audit logs. Bumps qovery-typescript-axios to 1.1.1010 to pick up the new OPERATOR_UPDATE and MAINTENANCE_OPERATOR event types, which q-core now records separately from cluster events.

  • User-initiated Operator updates now show as "Operator Update" (rocket icon) instead of "Trigger Deploy".
  • Admin Operator updates now show as "Maintenance · Operator Update" (wrench icon) instead of "Maintenance".
  • Both event types now appear in the Event filter dropdown.

Written for commit 286ba2e. Summary will update on new commits.

View guided diff Turn on auto-fix

Bump qovery-typescript-axios to 1.1.1010 for the OPERATOR_UPDATE and
MAINTENANCE_OPERATOR audit event types. They read "Operator Update" and
"Maintenance · Operator Update", with the icons of their TRIGGER_DEPLOY and
MAINTENANCE counterparts, and show up in the Event filter.
@nx-cloud

nx-cloud Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 286ba2e

Command Status Duration Result
nx run console:build --parallel=3 --configurati... ✅ Succeeded 57s View ↗
nx affected --target=test --parallel=3 --config... ✅ Succeeded 5m 36s View ↗
nx affected --target=lint --parallel=3 ✅ Succeeded 3m View ↗
nx-cloud record -- yarn nx format:check ✅ Succeeded 2s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-10-13 14:20:04 UTC

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 5 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

View guided diff | Turn on auto-fix | Re-trigger cubic

@pggb25
pggb25 merged commit 80fbd30 into staging Oct 13, 2026
11 checks passed
@pggb25
pggb25 deleted the feat/audit-logs-operator-update branch October 13, 2026 14:20
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 51.52%. Comparing base (d0264ed) to head (286ba2e).
⚠️ Report is 2 commits behind head on staging.

Files with missing lines Patch % Lines
...audit-logs/feature/src/lib/row-event/row-event.tsx 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           staging    #3104   +/-   ##
========================================
  Coverage    51.51%   51.52%           
========================================
  Files         1382     1382           
  Lines        30853    30854    +1     
  Branches      9077     9076    -1     
========================================
+ Hits         15894    15896    +2     
+ Misses       12422    12421    -1     
  Partials      2537     2537           
Flag Coverage Δ
unittests 51.52% <80.00%> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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.

2 participants