This repository was archived by the owner on Mar 25, 2026. It is now read-only.
Conversation
…s and PostgreSQL storage support - Introduced global and per-workflow cron endpoints to trigger workflows based on schedule.cron. - Added PostgreSQL storage implementation for managing workflow runs. - Updated configuration to support cron integration in server mode. - Enhanced existing workflows to utilize cron triggers and added tests for cron functionality. - Updated documentation for cron setup and usage. This commit enhances the scheduling capabilities of BeemFlow, allowing for more flexible and reliable workflow execution. Signed-off-by: Alec M. Wantoch <alec@wantoch.com>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Bugbot free trial expires on July 29, 2025
Learn more in the Cursor dashboard.
- Changed cron schedule from every 5 minutes to every 30 minutes in vercel.json. - Modified the serverless function initialization to return a cleanup function in api/index.go. - Added early exit response for cases with no workflows in core/operations.go. - Adjusted PostgreSQL connection pool settings for serverless optimization in storage/postgres.go. These changes improve the scheduling efficiency and resource management of the application. Signed-off-by: Alec M. Wantoch <alec@wantoch.com>
- Introduced context with timeout for serverless requests to ensure proper cleanup. - Added a serverless flag to the context to indicate serverless execution. - Configured in-memory event handling for serverless operations. These changes enhance the serverless function's reliability and performance during execution. Signed-off-by: Alec M. Wantoch <alec@wantoch.com>
- Added unit tests for CORS handling and health check endpoints in api/index_test.go. - Updated .gitignore to exclude test database files. - Refactored api/index.go to improve resource management and initialization for serverless functions. - Introduced shell quoting functionality in core/cron.go to enhance security in cron command generation. These changes improve the reliability of the application and ensure proper handling of database configurations and HTTP requests. Signed-off-by: Alec M. Wantoch <alec@wantoch.com>
- Added a test mode in main.go to prevent actual server startup during tests. - Updated main_test.go to set the test mode environment variable. - Enhanced cron functionality in cron.go and operations.go to prevent path traversal and command injection attacks. - Introduced new tests in cron_test.go to validate security against path traversal and command injection. These changes improve the testing framework and enhance the security of cron operations in BeemFlow. Signed-off-by: Alec M. Wantoch <alec@wantoch.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cron and PostgreSQL storage support
This commit enhances the scheduling capabilities of BeemFlow, allowing for more flexible and reliable workflow execution.