Skip to content

feat: sync lifecycle (archived/deprecated), env filtering fix, cleare…#4

Merged
nljordan merged 1 commit intolaunchdarkly-labs:feat/rule-update-syncfrom
nljordan:feat/rule-update-sync
Mar 5, 2026
Merged

feat: sync lifecycle (archived/deprecated), env filtering fix, cleare…#4
nljordan merged 1 commit intolaunchdarkly-labs:feat/rule-update-syncfrom
nljordan:feat/rule-update-sync

Conversation

@nljordan
Copy link
Contributor

Updates for incremental migrations, environment and logging, and fix deno export warning message.

Migration script:

  • Sync flag lifecycle (archived, deprecated, deprecatedDate) on create, on existing-flag updates, and during incremental skip (patch lifecycle even when env versions unchanged).
  • When destination project exists without env map: keep source env keys and filter to those that exist in target (don't replace with all destination envs); log count of envs migrated in both.
  • Clarify unbounded segment message (big segment / external store) and add hint to recreate in destination.
  • Log per-env patch success ("env: updated") and "applying changes" before patch.

Other:

  • deno.json: add exports field to satisfy Deno when name is set.
  • examples: add workflow-extract-migrate-incremental.yaml.

…r logs

Migration script:
- Sync flag lifecycle (archived, deprecated, deprecatedDate) on create,
  on existing-flag updates, and during incremental skip (patch lifecycle
  even when env versions unchanged).
- When destination project exists without env map: keep source env keys
  and filter to those that exist in target (don't replace with all
  destination envs); log count of envs migrated in both.
- Clarify unbounded segment message (big segment / external store)
  and add hint to recreate in destination.
- Log per-env patch success ("env: updated") and "applying changes"
  before patch.

Other:
- deno.json: add exports field to satisfy Deno when name is set.
- examples: add workflow-extract-migrate-incremental.yaml.

Made-with: Cursor
@nljordan nljordan requested review from akaur-ld and tarqd February 26, 2026 20:22
@akaur-ld akaur-ld force-pushed the feat/rule-update-sync branch from 4b81f6b to 4bb3bf2 Compare February 27, 2026 21:14
@nljordan nljordan merged commit 5cd3386 into launchdarkly-labs:feat/rule-update-sync Mar 5, 2026
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.

2 participants