Skip to content

Dev#1091

Merged
umesh-more-cstk merged 13 commits into
pre-stagefrom
dev
Jun 15, 2026
Merged

Dev#1091
umesh-more-cstk merged 13 commits into
pre-stagefrom
dev

Conversation

@umesh-more-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

yashin4112 and others added 13 commits June 9, 2026 21:11
- LoadUploadFile: make Host/Database/User editable for SQL format; forward to validation
- upload.service: send mysql details as headers for drupal validation
- upload-api: persist UI-entered mysql details into config.mysql; keep localPath as "sql"

fix: correct content mapper status icons and migration CTA state

- ContentMapper: update status icon on entry selection; hide Save footer when empty; fix empty-state layout
- MigrationFlowHeader: disable CTA only while migration is in progress, re-enable as Restart once complete
feat: support editing Drupal MySQL connection details
… mapping steps

- Added logic to handle delta iterations in the ContentMapper component, allowing for different behaviors based on the iteration number.
- Updated the MigrationFlowHeader to adjust step IDs and button states based on the current iteration.
- Enhanced the HorizontalStepper to maintain step completion status across iterations.
- Introduced new constants for empty state messages in the content mapper.
- Modified API calls to differentiate between new and old content types based on the iteration.
- Map Entry step lists only content types that have entry mappings, with status icons derived from saved isUpdate state.
- Made backend current_step iteration-aware (Map Entry inserts an extra step from iteration 2+).
- Fixed entry-update: only remove entries that already exist in Contentstack (have a contentstackEntryUid); update them when marked isUpdate, otherwise create fresh — prevents data loss of never-migrated entries.
- Updated the LoadUploadFile component to support MySQL connection details editing.
- Adjusted the Migration page to conditionally render steps based on the iteration.
- Improved the handling of empty states in the UI for better user experience during migration.
…creen

feat: Implement delta migration support for content mapping and entry…
@umesh-more-cstk umesh-more-cstk requested a review from a team as a code owner June 15, 2026 07:57
@umesh-more-cstk umesh-more-cstk merged commit 21cb436 into pre-stage Jun 15, 2026
9 of 12 checks passed
@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 10 338 25 ✅ Passed
🟡 Medium Severity 26 2 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

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 2 90 / 365 days ⚠️ Warning
🔵 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: 338
  • Medium without fixes: 2
  • Low without fixes: 0

⚠️ BUILD PASSED WITH WARNINGS - SLA breaches detected for issues without available fixes

Consider reviewing these vulnerabilities when fixes become available.

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