Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dev update #2795

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Remove dev update #2795

merged 1 commit into from
Oct 14, 2024

Conversation

pablonyx
Copy link
Contributor

Description

[Provide a brief description of the changes in this PR]

How Has This Been Tested?

[Describe the tests you ran to verify your changes]

Accepted Risk

[Any know risks or failure modes to point out to reviewers]

Related Issue(s)

[If applicable, link to the issue(s) this PR addresses]

Checklist:

  • All of the automated tests pass
  • All PR comments are addressed and marked resolved
  • If there are migrations, they have been rebased to latest main
  • If there are new dependencies, they are added to the requirements
  • If there are new environment variables, they are added to all of the deployment methods
  • If there are new APIs that don't require auth, they are added to PUBLIC_ENDPOINT_SPECS
  • Docker images build and basic functionalities work
  • Author has done a final read through of the PR right before merge

Copy link

vercel bot commented Oct 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 6:39pm

@pablonyx pablonyx marked this pull request as ready for review October 14, 2024 18:38
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This pull request modifies the SERVER_SIDE_ONLY__CLOUD_ENABLED constant in web/src/lib/constants.ts to align server-side cloud feature enablement with client-side configurations.

  • Changed SERVER_SIDE_ONLY__CLOUD_ENABLED to use NEXT_PUBLIC_CLOUD_ENABLED environment variable
  • Allows for more flexible configuration of cloud features across the application
  • Ensures consistency between server-side and client-side cloud feature enablement
  • May require updates to application logic to handle cases where cloud features are disabled
  • Developers should verify that all cloud-dependent features gracefully handle disabled state

1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

Comment on lines +64 to +65
export const SERVER_SIDE_ONLY__CLOUD_ENABLED =
process.env.NEXT_PUBLIC_CLOUD_ENABLED?.toLowerCase() === "true";
Copy link

Choose a reason for hiding this comment

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

style: Consider renaming to avoid confusion with client-side CLOUD_ENABLED constant

@pablonyx pablonyx merged commit 89eaa8b into main Oct 14, 2024
7 checks passed
@pablonyx pablonyx deleted the disable_cloud_by_default branch October 17, 2024 23:14
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