Skip to main content
← Back to list
01Issue
BugShippedSwamp CLI
Assigneesstack72

Relationships

#534 swamp datastore sync --push creates global .datastore-index.json ignoring namespace config

Opened by stack72 · 6/3/2026· Shipped 6/3/2026

When a repo has namespace set in .swamp.yaml datastore config, the auto-sync during model method execution correctly writes only the per-namespace index ({namespace}/.datastore-index.json). But an explicit 'swamp datastore sync --push' creates a spurious global .datastore-index.json alongside the per-namespace one. Core's explicit sync command path is not threading options.namespace into the pushChanged() call. This causes a subsequent 'swamp datastore sync --pull' on a fresh cache to pull from the global index (which contains all namespaces) instead of the per-namespace index, breaking namespace isolation. Found during issue #533 e2e verification.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 3 MOREPR_MERGED+ 1 MORENOTIFICATION_SKIPPED

Shipped

6/3/2026, 1:04:37 AM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack726/3/2026, 12:33:43 AM

Sign in to post a ripple.