Skip to content

feat(utils/is_oss): Add a function to check oss deployment mode#44

Merged
khvn26 merged 2 commits intomainfrom
feat/is-oss
Apr 7, 2025
Merged

feat(utils/is_oss): Add a function to check oss deployment mode#44
khvn26 merged 2 commits intomainfrom
feat/is-oss

Conversation

@gagantrivedi
Copy link
Member

@gagantrivedi gagantrivedi commented Apr 7, 2025

In Core, we need to add some conditional logic based on whether the build is OSS or not.

@gagantrivedi gagantrivedi requested a review from a team as a code owner April 7, 2025 10:35
@gagantrivedi gagantrivedi requested review from Zaimwa9 and removed request for a team April 7, 2025 10:35
Copy link
Contributor

@Zaimwa9 Zaimwa9 left a comment

Choose a reason for hiding this comment

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

Looks good to me (given isOss = not enterprise or saas) 👍

Copy link
Member

@khvn26 khvn26 left a comment

Choose a reason for hiding this comment

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

I'm cautious of these utility functions being used anywhere else than get_version_info — I think we should be careful introducing business logic dependent on this — however, I realise this will be used in the onboarding logic, not the core API/SDK logic, and this is OK to me.

@khvn26 khvn26 merged commit 13c2016 into main Apr 7, 2025
4 checks passed
This was referenced Jul 29, 2025
@gagantrivedi gagantrivedi deleted the feat/is-oss branch October 31, 2025 06:50
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.

3 participants