Skip to content

feat(sync): persist ldcli installation identity - #796

Merged
ctawiah merged 1 commit into
ctawiah/AIC-3336/git-repo-identityfrom
ctawiah/AIC-3336/installation-identity
Sep 11, 2026
Merged

feat(sync): persist ldcli installation identity#796
ctawiah merged 1 commit into
ctawiah/AIC-3336/git-repo-identityfrom
ctawiah/AIC-3336/installation-identity

Conversation

@ctawiah

@ctawiah ctawiah commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Persists a stable installation ID in the existing ldcli user configuration for non-Git source identity. This is a focused configuration layer above Git source detection.

  • Creates a random installation ID only when one does not already exist.
  • Writes the config atomically with restrictive permissions and preserves existing and unknown settings.
  • Keeps the internal ID out of ldcli config --list output.
  • Adds no metadata file to the customer workspace.

Verification

  • go test ./internal/config -count=1
  • Focused lint for ./internal/config

@ctawiah
ctawiah added this pull request to stack #795 September 11, 2026 23:04
@ctawiah
ctawiah merged commit 613633d into main Sep 11, 2026
6 checks passed
@ctawiah
ctawiah deleted the ctawiah/AIC-3336/installation-identity branch September 11, 2026 23:50
@ctawiah

ctawiah commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

Consolidated with the other automatic source identity work in #789.

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.

1 participant