Skip to content

Conversation

dario-piotrowicz
Copy link
Contributor

@dario-piotrowicz dario-piotrowicz commented Dec 18, 2024

resolves #28


This PR makes sure that all our code patches are applied (that they do change the worker's code)

As part of this I did a bit of refactoring to remove every single function's log and validation and consolidate then
in a single function patchCodeWithValidations


The result/logs in case everything works as expected:
Screenshot 2024-12-18 at 10 25 37

The result/logs in case a step fails:
Screenshot 2024-12-18 at 10 31 17

Copy link

changeset-bot bot commented Dec 18, 2024

⚠️ No Changeset found

Latest commit: 14a0954

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

pkg-pr-new bot commented Dec 18, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@186

commit: 14a0954

improve the code patching validation by removing the validation for each single patch
function and introducing a new `patchCodeWithValidations` that applies all the patches
with validations all in a single place
@dario-piotrowicz dario-piotrowicz force-pushed the dario/experimental/28/patch-validations branch from abc70d6 to 3f5e87a Compare December 18, 2024 10:31
Copy link
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

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

Thanks!

@dario-piotrowicz dario-piotrowicz merged commit 27a18df into experimental Dec 18, 2024
6 checks passed
@dario-piotrowicz dario-piotrowicz deleted the dario/experimental/28/patch-validations branch December 18, 2024 12:07
vicb pushed a commit that referenced this pull request Dec 20, 2024
make sure all code patch steps are validated and improve the code patching validation by removing the validation for each single patch function and introducing a new `patchCodeWithValidations` that applies all the patches
with validations all in a single place
vicb pushed a commit that referenced this pull request Dec 20, 2024
make sure all code patch steps are validated and improve the code patching validation by removing the validation for each single patch function and introducing a new `patchCodeWithValidations` that applies all the patches
with validations all in a single place
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.

2 participants