Conversation
- Introduced `testing-preview-branch.yml` for branch-scoped Durable Object previews, combined branch deployment and PR comment reporting, and runtime binding verification. - Added `testing-preview-branch-cleanup.yml` to retire tracked branch preview metadata, delete branch-scoped Workers, and mark GitHub deployments inactive when a branch is deleted. - Created `testing-preview-pr.yml` for PR-scoped testing previews, updating stable PR comments, and handling cleanup on PR close. - Updated documentation to reflect new workflows and their purposes, including details on the branch preview lifecycle and cleanup processes.
|
- Added `mergeConfigForEnvironment` function to handle environment-specific configurations. - Implemented `previews` schema in the configuration to manage cron trigger inclusion for preview deployments. - Enhanced resource resolution functions to support materialized preview-scoped resources. - Created tests for deployment strategies to verify behavior of preview-scoped resources. - Updated integration and unit tests to cover new preview functionality and ensure correct behavior.
- Implement unit tests for D1 migrations in `d1-migrations.test.ts`, verifying immediate migration requests and retry logic. - Enhance context tests in `context.test.ts` to ensure Durable Object alarm events are established correctly. - Extend `composed-worker.test.ts` to check for missing fetch handler paths, ensuring explicit errors are thrown. - Update `routes.test.ts` to improve route discovery tests, ensuring proper configuration and conflict detection. - Add a new `results.csv` file to track test results and insights. - Introduce `turbo.json` for task management and build optimization.
…ling - Rename test cases to reflect command changes from 'cleanup-resources' to 'cleanup'. - Modify tests to ensure proper warnings and messages are displayed when no matching resources are found. - Adjust mock fetch responses to simulate live worker environments and remove reliance on preview registry. - Update test descriptions for clarity and accuracy regarding the functionality being tested. - Ensure compatibility with new command structure and remove deprecated subcommands.
- Changed pull-requests permission from read to write in multiple workflow files to allow for enhanced functionality. - Added new typecheck and check scripts in devflare package.json for improved type checking. - Refactored build-artifacts.ts to isolate Vite build output paths and handle cleanup more effectively. - Enhanced family.ts to streamline preview scope row creation with improved status handling. - Implemented path isolation logic in compiler.ts for better asset management during builds. - Updated plugin.ts to utilize isolated Vite build output paths in the build process. - Added comprehensive unit tests for build artifact cleanup and GitHub feedback action to ensure robustness and error handling.
✅ Documentation PR preview deployed successfullyThis pull request gets a stable PR-scoped preview link that is updated in place on every preview run.
Logs and details
|
✅ Testing branch preview deployed successfullyThis workflow publishes a branch-scoped testing preview on every qualifying push, even when no pull request exists. When the branch belongs to an open pull request, the same run also refreshes the stable PR preview comment.
Logs and details
|
- Added validation step for documentation branch and PR preview deployments to ensure a valid preview URL is generated and does not match the production URL. - Implemented a function to resolve the documentation worker name based on the preview scope, allowing for dynamic naming of preview deployments. - Updated GitHub Actions workflows to incorporate the new validation logic and adjust deployment statuses based on validation outcomes. - Created a new module for handling worker name logic, including sanitization and clamping of preview scope. - Added tests to verify the correct resolution of worker names and ensure production URLs are not included in preview comments.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.