Skip to content

TSOND-850 | Hotfix | Updated compass starter app repo to per-uid global field format for DX-9464 compatibility - #19

Merged
kulsumansari-cstk merged 1 commit into
mainfrom
hotfix/tsond850
Jul 24, 2026
Merged

TSOND-850 | Hotfix | Updated compass starter app repo to per-uid global field format for DX-9464 compatibility#19
kulsumansari-cstk merged 1 commit into
mainfrom
hotfix/tsond850

Conversation

@tusharmittal-cstk

Copy link
Copy Markdown
Contributor

Context

DX-9464 changed global fields export from a single bulk-array file (globalfields.json) to individual per-uid files ({uid}.json). The 4 official seed repos still ship the old bulk-array format, which breaks the seed command's import flow — specifically readGlobalFieldSchemas reads the array as a single element, .uid is undefined, and the SDK never assigns .fetch, causing a TypeError: .fetch is not a function at import time.

Changes:

  1. Added individual {uid}.json files alongside the existing globalfields.json in stack/global_fields/
  2. Keep globalfields.json intact (backward compat)
  3. Cut a new release so the seed command picks up the updated tarball

Per-uid file format

Each file is a plain JSON object matching the global field schema:

{
"title": "Card",
"uid": "card",
"description": "",
"schema": [...]
}

@tusharmittal-cstktusharmittal-cstk self-assigned this Jul 24, 2026
@tusharmittal-cstk
tusharmittal-cstk requested a review from a team as a code ownerJuly 24, 2026 11:20
@tusharmittal-cstktusharmittal-cstk added the enhancement New feature or request label Jul 24, 2026
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

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

Check TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity0025✅ Passed
🟡 Medium Severity00500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

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

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0090 / 365 days✅ Passed
🔵 Low00180 / 365 days✅ Passed

✅ BUILD PASSED - All security checks passed

@kulsumansari-cstkkulsumansari-cstk left a comment

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.

Looks Good!

@srushtiozasrushtioza left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve from my end

@kulsumansari-cstk
kulsumansari-cstk merged commit 40e45d1 into mainJul 24, 2026
5 checks passed
@tusharmittal-cstktusharmittal-cstk changed the title TSOND-850 | Updated compass starter app repo to per-uid global field format for DX-9464 compatibilityTSOND-850 | Hotfix Updated compass starter app repo to per-uid global field format for DX-9464 compatibilityJul 24, 2026
@tusharmittal-cstktusharmittal-cstk changed the title TSOND-850 | Hotfix Updated compass starter app repo to per-uid global field format for DX-9464 compatibilityTSOND-850 | Hotfix | Updated compass starter app repo to per-uid global field format for DX-9464 compatibilityJul 24, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@tusharmittal-cstk@srushtioza@kulsumansari-cstk