Skip to content

chore: reconcile diverged git histories - #392

Merged
OMpawar-21 merged 701 commits into
developmentfrom
fix/reconcile-history
Aug 11, 2026
Merged

chore: reconcile diverged git histories#392
OMpawar-21 merged 701 commits into
developmentfrom
fix/reconcile-history

Conversation

@cs-raj

@cs-raj cs-raj commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

What

Force push on main after PR#389 was merged and PR#390 (back-merge) was already done broke the shared git ancestry between main and development. Both branches diverged back to 2022.

What this does

  • Merges main into development with --allow-unrelated-histories to reconnect the two histories
  • Preserves DX-10060 (network error retry fix) from development
  • Brings in snyk false-positive suppression comments from main

Conflict resolution

File Decision Reason
CHANGELOG.md Kept dev Has DX-10060 entry
package.json Kept dev Has version bump
src/common/utils.ts Kept dev Has retry logic (+29 lines)
src/stack/contentstack.ts Kept dev Has DX-10060 changes (+15 lines)
test/bundlers/esbuild-app/src/index.js Kept main Has snyk fix
test/bundlers/rollup-app/src/index.js Kept main Has snyk fix

After merging

Future PRs from development → main will show only actual new commits — no more phantom 390-commit history.

harshithad0703 and others added 30 commits October 29, 2025 13:26
Merge pull request #245 from contentstack/staging
feat: implement download script for regions.json and update postinsta…
…Entries, Pagination, Query, and Stack classes

- Added tests for debug logging integration in Contentstack.
…es-coverage

Fix/dx 3674 improve testcases coverage
…oints-region

Revert "feat: implement download script for regions.json and update postinsta…"
- Fix all failing test suites (632 tests now passing)
- Add 21 new comprehensive test suites covering:
  * Asset management, cache & persistence
  * Complex queries, deep references, field projections
  * Global fields, JSON RTE, live preview
  * Metadata, modular blocks, multi-reference
  * Pagination, performance benchmarks
  * Query encoding, operators, sync operations
  * Taxonomy queries

- Fix TypeScript errors (TS18048, TS2304, TS2554, TS1128, TS1005)
- Fix Axios errors (422, 400) with graceful error handling
- Fix circular references in deep reference chains (WeakSet tracking)
- Fix flaky performance tests (network variance handling)
- Add global console.error suppression for SDK validation (jest.setup.ts)
- Remove redundant synchronization.spec.ts (superseded by comprehensive version)
- Update .gitignore to exclude build artifacts
- Sync with latest development (19 commits)
- Remove @nrwl/jest dependency (from upstream)

Test Results:
  Test Suites: 39 passed, 39 total (100%)
  Tests: 632 passed, 632 total (100%)
  Status: Production Ready

Breaking Changes: None
Security: All credentials use environment variables
…tentstackEndpoint

refactor:  region handling logic to utilize getContentstackEndpoint. …
…tentstackEndpoint

chore: 🗑️ remove redundant code
Enh: add type casting helper for BaseQuery methods to return Query type
cs-raj and others added 23 commits July 16, 2026 12:54
….4.0

feat(taxonomy): remove locale param from fetch(), bump to v5.4.0
chore: back-merge main into development
… clarity; enhance constructor overloads in Query class
Added Branches support in entry variants
Reporting:
- Add request-capture plugin, assertion tracker, and a single-file HTML
  reporter that shows per-test SDK method, API request, copy-paste cURL,
  request/response, and Assertions Verified (expected vs actual) inline.
  Gated by ENABLE_HTTP_CAPTURE; tokens masked. Wired into jest config/setup.
- Fix stale console-error suppression to match the current SDK message.

Test fixes:
- Reference specs use complex_all_fields fields (single_ref/multi_ref/self_ref).
- Sync token assertions handle both no-change (stable) and change (advanced) cases.
- Asset dimension asserts on an image asset; raise slow error-path test timeout.

Bundlers:
- run-with-report.sh: regenerate lockfile, surface install errors, fix counting.
- Pin webpack to 5.108.0 (5.109 resolver regression with @ljharb transitive deps).

.talismanrc: whitelist the 4 new/updated report+bundler files (false positives).
…-suite-fixes

test: rich HTML report + API suite fixes for enriched v5 stack
chore: back-merge main into development
Bumps @contentstack/core to ^1.5.1, which fixes MODULE_NOT_FOUND /
"expression is too dynamic" build failures in bundlers (Next.js/Turbopack,
webpack) and native ESM ReferenceErrors from the keep-alive agent setup.

NOTE: do not publish until @contentstack/core 1.5.1 is live on npm, or the
^1.5.1 range will not resolve.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…-1.5.1

chore: Prepare 5.5.2 release with @contentstack/core ^1.5.1
…xtures

Test fixtures use placeholder API keys/tokens, not real secrets. Add
inline deepcode ignore annotations so Snyk Code suppresses the finding
at the source instead of relying on org-level web UI ignores.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
fix: suppress Snyk hardcoded-secret false positive in bundler test fixtures
Force push on main after PR#389/PR#390 broke shared ancestry.
Preserves DX-10060 (network error retry) from development.
Adds snyk false-positive suppression from main.
@cs-raj
cs-raj requested a review from a team as a code owner August 11, 2026 12:29
@snyk-io

snyk-io Bot commented Aug 11, 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

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

Copy link
Copy Markdown

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 98.9% 993/1004
🟢 Branches 96.52% 305/316
🟢 Functions 97.79% 221/226
🟢 Lines 99.37% 945/951

Test suite run success

720 tests passing in 36 suites.

Report generated by 🧪jest coverage report action from f9738ce

@OMpawar-21
OMpawar-21 merged commit b83159c into development Aug 11, 2026
11 checks passed
@OMpawar-21
OMpawar-21 deleted the fix/reconcile-history branch August 11, 2026 13:21
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.