Skip to content

fix: fix edge cases for AM#107

Open
naman-contentstack wants to merge 1 commit intofeat/AM2.0from
fix/DX-6153
Open

fix: fix edge cases for AM#107
naman-contentstack wants to merge 1 commit intofeat/AM2.0from
fix/DX-6153

Conversation

@naman-contentstack
Copy link
Copy Markdown
Contributor

No description provided.

@naman-contentstack naman-contentstack requested a review from a team as a code owner April 23, 2026 12:25
@github-actions
Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 2 43 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 43
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

const originalMessage = (error as Error)?.message ?? '';
const errorMessage =
originalMessage || messageHandler.parse('FAILED_EXPORT_CONTENT_BRANCH', { branch: targetBranch?.uid });
handleAndLogError(error, { ...this.exportConfig.context, branch: targetBranch?.uid }, errorMessage);
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.

why we are using both "handleAndLogError" and throw error as well in the same block

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