Skip to content

Dev#1121

Merged
vikrantraut-cstk merged 13 commits into
pre-stagefrom
dev
Jul 23, 2026
Merged

Dev#1121
vikrantraut-cstk merged 13 commits into
pre-stagefrom
dev

Conversation

@vikrantraut-cstk

Copy link
Copy Markdown
Contributor

🔗 Jira Ticket

Replace with your ticket link — required before requesting review.

MIGRATION-XXXX


📋 PR Type

  • ✨ Feature
  • 🐛 Bug Fix
  • 🔥 Hotfix
  • ♻️ Refactor
  • 🧹 Chore / Dependency Update
  • 📝 Documentation

📝 Description

What changed?

Why?


🧩 Affected Areas

  • api — Node.js backend
  • ui — React frontend
  • upload-api — Upload API server
  • docker / docker-compose
  • CI / GitHub Actions workflows
  • Environment variables / config
  • Other:

🧪 How to Test

Expected result:


📸 Screenshots / Recordings

Before After

🔗 Related PRs / Dependencies


✅ Author Checklist

Complete this before moving the PR out of Draft.

  • Branch follows naming convention: feature/, bugfix/, or hotfix/ + 5–30 lowercase chars
  • Jira ticket linked above
  • Self-reviewed the diff — no debug logs, commented-out code, or TODOs left in
  • .env / example.env updated if new environment variables were added
  • No sensitive credentials or secrets committed
  • Existing tests pass locally (npm test)
  • New tests written (or not applicable — explain why)
  • README.md / docs updated if behaviour changed
  • Talisman pre-push scan passes (no secrets flagged)

👀 Reviewer Notes


Migration v2 · Docs · Issues

chetan-contentstack and others added 13 commits July 21, 2026 11:53
…es remain, cap rows at source count

The Add Language button on delta-restart iteration was misbehaving in two ways:

1. It stayed disabled after a single addition when the picked CS locale's
   code happened to match a source locale code (e.g. CS `fr` mapped to
   source `fr`, or `ja` → `ja`). `filledMappingCount` had a stale
   `sourceLocaleLabels.has(k)` filter meant to defend against a
   fallback-key path in `handleSelectedSourceLocale` that no longer
   exists (source-first pick now no-ops until CS is picked). The filter
   was dropping legitimate CS keys, freezing the count at 1, and locking
   the button after the first Add.
2. The `hasIncompleteRow` gate forced users to fully fill each row
   before Add Language re-enabled. Removed — users can now spawn
   multiple empty rows and fill them in any order.

Added a hard row cap at `totalSources` so N sources → at most N rows on
screen (whether they're mapped yet or not), preventing a user from
hammering Add and stranding empty rows that no source can back.
Unblocks the security-sca gate on the CMG-1057/1058 PR — its critical
SLA breach was SNYK-JS-ESBUILD-17750822 (esbuild@0.27.3, "Resources
downloaded over insecure protocol"), which reached its 15-day SLA
threshold while dev's scan hadn't re-run.

- upload-api: vitest ^4.0.18 → ^4.1.10 (also @vitest/coverage-v8), pulls
  in vitest ≥ 4.1.0 which patches CVE-2026-47429 (Vitest UI arbitrary
  file read/exec) and drops the vulnerable transitive esbuild
- ui: refresh package-lock.json so esbuild 0.27.3 → 0.27.7 across all
  @esbuild/* platform packages (via vite@^7.3.5, no manifest change)

No source-code changes; scope-limited to lockfile / dev-dep bumps.
Prior bump (dcbf00b) moved ui's transitive esbuild from 0.27.3 → 0.27.7
by refreshing the lockfile, but SNYK-JS-ESBUILD-17750822 flags every
0.27.x. The Snyk fix lands in 0.28.x.

ui's `vite@^7.3.5` pins esbuild in the 0.27 range, so use an npm
override to force ^0.28.1 across every consumer of the package
(vite@7.3.5 → esbuild override; storybook's transitive esbuild dedupes
to the same). No manifest bump for vite — keeps the update surgical
and avoids the vite 7 → 8 major (vite 8 dropped esbuild entirely for
rolldown, but that's a bigger migration than a security CI unblock
warrants).
…s to ensure pagination and footer remain visible on zoom
…e-fix

CMG-1057 | Restart Locale Mapper Add Language dropdown
…ss and update initial table height calculation
fix: improve responsive behavior of AssetMapper and EntryMapper table…
fix: always create content type on test migration, disable Save when …
@vikrantraut-cstk
vikrantraut-cstk requested a review from a team as a code owner July 23, 2026 09:28
@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 5 384 25 ✅ Passed
🟡 Medium Severity 10 11 500 ✅ Passed
🔵 Low Severity 1 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: 384
  • Medium without fixes: 11
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@vikrantraut-cstk
vikrantraut-cstk merged commit 92d1c6a into pre-stage Jul 23, 2026
12 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.

2 participants