Skip to content

SDK Cortex generated API tests for ts_cda - #368

Draft
aniket-shikhare-cstk wants to merge 1 commit into
mainfrom
sdk-cortex/ts_cda/ts_cda_pr_340
Draft

SDK Cortex generated API tests for ts_cda#368
aniket-shikhare-cstk wants to merge 1 commit into
mainfrom
sdk-cortex/ts_cda/ts_cda_pr_340

Conversation

@aniket-shikhare-cstk

Copy link
Copy Markdown
Contributor

Generated by SDK Cortex.

SDK: ts_cda
Base branch: main

Generated tests:

  • test/api/sdk-cortex/regex.spec.ts (regex)

Validation:

  • regex: generated - generated output passed static and native validation: npx --no-install tsc --noEmit passed | npx --no-install jest test/api/sdk-cortex/regex.spec.ts --runInBand passed: 📦 report is created on: /private/var/folders/10/19j4fqb96w7_c8dhdpvg5wr80000gq/T/sdk-cortex-validation-v7q6_b5y/worktree/reports/contentstack-delivery/html/index.html
    ✅ Test results written to: test-results/jest-results.json
    ------------------------|---------|----------|---------|---------|-----------------------------------------------------
    File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
    ------------------------|---------|----------|---------|---------|-----------------------------------------------------
    All files | 31.48 | 16.26 | 17.94 | 31.06 |
    assets | 7.07 | 0 | 0 | 6.18 |
    asset.ts | 7.69 | 0 | 0 | 8 | 6-169
    image-transform.ts | 2.4 | 0 | 0 | 2.85 | 15-571
    index.ts | 100 | 100 | 0 | 100 |
    cache | 6.81 | 0 | 0 | 6.97 |
    index.ts | 6.81 | 0 | 0 | 6.97 | 10-37,58-131
    common | 77.37 | 62 | 66.66 | 78.35 |
    error-messages.ts | 76.92 | 33.33 | 25 | 76.92 | 10-28
    pagination.ts | 14.28 | 0 | 25 | 16.66 | 36-110
    string-extensions.ts | 0 | 0 | 0 | 0 | 10-19
    types.ts | 100 | 100 | 100 | 100 |
    utils.ts | 43.75 | 14.28 | 66.66 | 40 | 7,24-38
    content-type | 66.66 | 0 | 66.66 | 76.92 |
    index.ts | 66.66 | 0 | 66.66 | 76.92 | 55-59
    entries | 15.03 | 0 | 8.82 | 13.95 |
    entries.ts | 18.57 | 0 | 11.76 | 18.84 | 33-239,272-331
    entry.ts | 5.08 | 0 | 0 | 5.17 | 13-295
    index.ts | 100 | 100 | 50 | 100 |
    global-field | 22.22 | 100 | 0 | 22.22 |
    index.ts | 22.22 | 100 | 0 | 22.22 | 6-44
    query | 24.54 | 11.59 | 12.69 | 22.43 |
    asset-query.ts | 12.5 | 0 | 0 | 12.5 | 7-163
    base-query.ts | 13.15 | 0 | 8.33 | 13.51 | 19-256
    contenttype-query.ts | 22.22 | 100 | 0 | 22.22 | 7-45
    entry-queryable.ts | 100 | 100 | 100 | 100 |
    global-field-query.ts | 28.57 | 100 | 0 | 28.57 | 7-26
    index.ts | 100 | 100 | 28.57 | 100 |
    query.ts | 21.26 | 13.11 | 17.85 | 20.93 | 20,23,39,45-90,109-110,113,143-629,642,655
    taxonomy-query.ts | 40 | 100 | 0 | 40 | 6-8
    stack | 40.42 | 11.76 | 14.81 | 40.15 |
    contentstack.ts | 40.47 | 15.21 | 8.33 | 40.96 | 55,60,65,69,74-82,88,92,103-110,117-171,177,183-198
    index.ts | 100 | 100 | 33.33 | 100 |
    stack.ts | 30.61 | 4.54 | 16.66 | 31.81 | 40-42,65-254
    sync | 27.77 | 0 | 0 | 23.52 |
    index.ts | 100 | 100 | 0 | 100 |
    synchronization.ts | 18.75 | 0 | 0 | 18.75 | 7-34
    ------------------------|---------|----------|---------|---------|-----------------------------------------------------

Artifacts:

  • Markdown report: reports/ts_cda.pr340.20260525T213510915547Z.analysis.md
  • HTML report: reports/ts_cda.pr340.20260525T213510915547Z.analysis.html
  • Generated patch: reports/ts_cda.pr340.20260525T213510915547Z.generated_patch.diff

@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 0 0 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

✅ BUILD PASSED - All security checks passed

@github-actions

github-actions Bot commented May 25, 2026

Copy link
Copy Markdown

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
99.32% (+0.43% 🔼)
877/883
🟢 Branches
97.23% (+0.79% 🔼)
281/289
🟢 Functions
97.95% (+0.18% 🔼)
191/195
🟢 Lines
99.4% (+0.04% 🔼)
832/837
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢 query/base-query.ts
97.37% (-0.07% 🔻)
85.71% 100% 100%
🟢 query/query.ts
98.85% (-0.6% 🔻)
93.44% (-1.87% 🔻)
100%
98.84% (-0.61% 🔻)

Test suite run success

654 tests passing in 31 suites.

Report generated by 🧪jest coverage report action from bfe6a95

@aniket-shikhare-cstk
aniket-shikhare-cstk force-pushed the sdk-cortex/ts_cda/ts_cda_pr_340 branch from a6d665c to 7cc6de8 Compare May 26, 2026 13:34
@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 0 0 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

✅ BUILD PASSED - All security checks passed

@snyk-io

snyk-io Bot commented Aug 7, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

github-actions Bot commented Aug 7, 2026

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 0 0 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

✅ BUILD PASSED - All security checks passed

1 similar comment
@github-actions

github-actions Bot commented Aug 7, 2026

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 0 0 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

✅ BUILD PASSED - All security checks passed

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.

1 participant