Skip to content

feat(sync): compile local prompt variations - #794

Merged
ctawiah merged 1 commit into
ctawiah/AIC-3335/parse-local-synced-resourcesfrom
ctawiah/AIC-3335/compile-local-variations
Sep 11, 2026
Merged

feat(sync): compile local prompt variations#794
ctawiah merged 1 commit into
ctawiah/AIC-3335/parse-local-synced-resourcesfrom
ctawiah/AIC-3335/compile-local-variations

Conversation

@ctawiah

@ctawiah ctawiah commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Compiles prompt variation files across projects in a .launchdarkly workspace into deterministic sync input. This layer builds on the variation parser in the preceding PR.

  • Walks each project configuration directory and ignores unsupported files.
  • Sorts variations by project and lookup key for stable request construction.
  • Includes the failing file path in parse errors and reports a missing .launchdarkly directory clearly.

Verification

  • go test ./internal/sync/... -count=1
  • Focused lint for the changed sync packages

@ctawiah
ctawiah added this pull request to stack #795 September 11, 2026 23:01
@ctawiah
ctawiah merged commit 93f1cc8 into main Sep 11, 2026
6 checks passed
@ctawiah
ctawiah deleted the ctawiah/AIC-3335/compile-local-variations branch September 11, 2026 23:50
@ctawiah

ctawiah commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

Consolidated into #788 so prompt variation parsing and compilation can be reviewed as one coherent local-loading change.

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