Skip to content

Comments

chore: Add missing features to Akamai SDK metadata (SDK-1884)#1118

Open
joker23 wants to merge 3 commits intomainfrom
devin/1771863096-sdk-1884-akamai-features
Open

chore: Add missing features to Akamai SDK metadata (SDK-1884)#1118
joker23 wants to merge 3 commits intomainfrom
devin/1771863096-sdk-1884-akamai-features

Conversation

@joker23
Copy link
Contributor

@joker23 joker23 commented Feb 23, 2026

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

No test changes needed — this is a metadata-only update to .sdk_metadata.json.

Related issues

SDK-1884 — Document complete feature lists for Akamai SDKs. Follows the approach established in PR #1066.

Describe the solution you've provided

Adds four missing features to both akamai-base and akamai-edgekv entries in .sdk_metadata.json, and corrects the migrations version for both:

Feature akamai-base akamai-edgekv Rationale
allFlags 1.0 1.0 allFlagsState() inherited from LDClientImpl since initial release; confirmed by existing tests
secureMode 1.0 1.0 secureModeHash() inherited from LDClientImpl since initial release
experimentation 1.0 1.0 Available from initial release (requires event sending to be enabled)
track 1.0 1.0 Available from initial release (requires event sending to be enabled)
migrations 2.0 (was 1.0.9) 1.0.8 (was 1.0.9) Corrected per reviewer feedback; both correspond to the js-server-sdk-common v2.0.0 uptake

experimentation and track were included for consistency with all other edge SDKs (cloudflare, vercel, fastly).

Updates since last revision

Addressed review feedback from @kinyoklion:

  • experimentation and track set to 1.0 for both SDKs (available from initial release with event sending enabled), instead of tying them to the js-server-sdk-common v2.0.0 bump
  • migrations corrected to 2.0 for akamai-base (was 1.0.9) and 1.0.8 for akamai-edgekv (was 1.0.9)

Checklist for human review

  • Verify experimentation and track at 1.0 is correct — reviewer said "probably 1.0" with event sending enabled
  • Confirm migrations at 2.0 for akamai-base and 1.0.8 for akamai-edgekv are the right introduction points

Describe alternatives you've considered

  • Omitting experimentation — decided against this since all other edge SDKs include it alongside track.
  • Tying track/experimentation to the js-server-sdk-common v2.0.0 release (akamai-base 2.0, akamai-edgekv 1.0.8) — reviewer clarified these were available from 1.0, just require event sending to be enabled.

Additional context

Link to Devin run: https://app.devin.ai/sessions/b417cc1224c84914ad174db637f3a25a
Requested by: @joker23

Add allFlags, experimentation, secureMode, and track features to both
akamai-base and akamai-edgekv entries in .sdk_metadata.json.

- allFlags: introduced in 1.0 for both (inherited from LDClientImpl)
- secureMode: introduced in 1.0 for both (inherited from LDClientImpl)
- experimentation: introduced in 2.0 (akamai-base) / 1.0.8 (akamai-edgekv)
- track: introduced in 2.0 (akamai-base) / 1.0.8 (akamai-edgekv)

Version differences reflect the different versioning schemes:
akamai-base v2.0.0 and akamai-edgekv v1.0.8 correspond to the same
2023-10-16 release that added migrations, typed variations, and
trackMigration via js-server-sdk-common v2.0.0.

Co-Authored-By: unknown <>
@devin-ai-integration
Copy link
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions
Copy link
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 25394 bytes
Compressed size limit: 26000
Uncompressed size: 124693 bytes

@github-actions
Copy link
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 19370 bytes
Compressed size limit: 20000
Uncompressed size: 99722 bytes

@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 23373 bytes
Compressed size limit: 25000
Uncompressed size: 81215 bytes

@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

@launchdarkly/browser size report
This is the brotli compressed size of the ESM build.
Compressed size: 171304 bytes
Compressed size limit: 200000
Uncompressed size: 798320 bytes

@joker23 joker23 marked this pull request as ready for review February 23, 2026 21:11
@joker23 joker23 requested a review from a team as a code owner February 23, 2026 21:11
"contexts": { "introduced": "1.0" },
"migrations": { "introduced": "1.0.9" }
"experimentation": { "introduced": "2.0" },
"migrations": { "introduced": "1.0.9" },
Copy link
Member

Choose a reason for hiding this comment

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

Migrations were in 2.0.0

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed — migrations is now "2.0" for akamai-base. Thanks for the correction.

"contexts": { "introduced": "1.0" },
"migrations": { "introduced": "1.0.9" }
"experimentation": { "introduced": "1.0.8" },
"migrations": { "introduced": "1.0.9" },
Copy link
Member

Choose a reason for hiding this comment

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

Migrations were in 2.0.0

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed — migrations is now "1.0.8" for akamai-edgekv (the edgekv release that picked up js-server-sdk-common v2.0.0).

"allFlags": { "introduced": "1.0" },
"contexts": { "introduced": "1.0" },
"migrations": { "introduced": "1.0.9" }
"experimentation": { "introduced": "2.0" },
Copy link
Member

Choose a reason for hiding this comment

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

Experimentation was not 2.0. Probably 1.0.

But only with event sending enabled.

Similarly track is not 2.0, but also only works with event sending enabled.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good call — updated both experimentation and track to "1.0" for both SDKs (available from initial release with event sending enabled).

- akamai-base: migrations → 2.0 (was 1.0.9), experimentation → 1.0, track → 1.0
- akamai-edgekv: migrations → 1.0.8 (was 1.0.9), experimentation → 1.0, track → 1.0

Per reviewer: experimentation and track were available from 1.0 (with
event sending enabled). Migrations were introduced in akamai-base 2.0.0
and akamai-edgekv 1.0.8 (both corresponding to js-server-sdk-common 2.0.0).

Co-Authored-By: unknown <>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Copy link
Member

@kinyoklion kinyoklion left a comment

Choose a reason for hiding this comment

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

I am not going to go figure out why, but it looks like 1.0.8 should have been a major version for akamai-edgekv, when we intentionally major versioned node. But maybe it ended up not being because of the missed exports.

Either way, that wasn't a major version because of a break, but because of marketing. So its fine.

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