Skip to content

Conversation

jumski
Copy link
Contributor

@jumski jumski commented Sep 11, 2025

Implement a simple check in SupabasePlatformAdapter to prevent spawning new edge functions
during shutdown when EDGE_WORKER_DISABLE_AUTO_RESPAWN is set to true.
Include documentation explaining how to disable auto-respawn via environment variables and
outline use cases.
Also, add a new test file to verify the environment variable behavior.
This minimal change provides temporary control over worker respawning with minimal code
modifications and documentation updates.

Copy link

changeset-bot bot commented Sep 11, 2025

⚠️ No Changeset found

Latest commit: 87655c3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

coderabbitai bot commented Sep 11, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat-allow-to-disable-worker-respawning

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jumski jumski marked this pull request as ready for review September 11, 2025 14:11
Copy link
Contributor Author

jumski commented Sep 11, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

nx-cloud bot commented Sep 11, 2025

View your CI Pipeline Execution ↗ for commit 87655c3

Command Status Duration Result
nx run-many -t build --projects client,dsl --co... ✅ Succeeded 3s View ↗
nx affected -t build --configuration=production... ✅ Succeeded 18s View ↗
nx affected -t lint typecheck test --parallel -... ✅ Succeeded 5m 38s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-11 15:00:26 UTC

Implement a simple check in SupabasePlatformAdapter to prevent spawning new edge functions
during shutdown when EDGE_WORKER_DISABLE_AUTO_RESPAWN is set to true.
Include documentation explaining how to disable auto-respawn via environment variables and
outline use cases.
Also, add a new test file to verify the environment variable behavior.
This minimal change provides temporary control over worker respawning with minimal code
modifications and documentation updates.
@jumski jumski force-pushed the feat-allow-to-disable-worker-respawning branch from 188ae0a to 87655c3 Compare September 11, 2025 14:52
Copy link
Contributor

🔍 Preview Deployment: Website

Deployment successful!

🔗 Preview URL: https://pr-211.pgflow.pages.dev

📝 Details:

  • Branch: feat-allow-to-disable-worker-respawning
  • Commit: 4f06f6bb8b414610542b74e9b541c14fe1a9d277
  • View Logs

_Last updated: _

Copy link
Contributor

🔍 Preview Deployment: Playground

Deployment successful!

🔗 Preview URL: https://pr-211--pgflow-demo.netlify.app

📝 Details:

  • Branch: feat-allow-to-disable-worker-respawning
  • Commit: 4f06f6bb8b414610542b74e9b541c14fe1a9d277
  • View Logs

_Last updated: _

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