34 Commits

Author SHA1 Message Date
hrushikeshdeshpande
b207361e83
Update semgrep.yml (#639)
Updating Semgrep.yml file - Semgrep is a tool that will be used to scan Cloudflare's public repos for Supply chain, code and secrets. This work is part of Application & Product Security team's initiative.
2024-09-20 21:04:37 -06:00
Hrushikesh Deshpande
7f6adbce6a Adding semgrep yaml file 2024-09-19 21:55:36 -04:00
Kevin Flansburg
5b9f106a57
Do not amend commit when creating release PR.
`cargo release` does not actually commit changes, so amending the commit was not necessary and instead applied to the last commit from `main`, which broke history.
2024-09-13 15:25:12 -04:00
Kevin Flansburg
ca61ce5dd0
Fix quotes (#632) 2024-08-30 18:28:58 +01:00
Kevin Flansburg
42a319db70
Automatically update crate version in generate templates (#630) 2024-08-30 18:18:16 +01:00
Kevin Flansburg
c9892d333f
Fixes to create-release-pr and bump worker-build (#557)
* Fixes to create-release-pr

* Bump worker-build
2024-04-28 19:18:52 -04:00
Kevin Flansburg
0df4bd3580
Add minor version bump option to create-release-pr workflow. (#533)
* Remove changeset workflow

* Add option for minor version bump
2024-04-04 08:01:27 -04:00
Kevin Flansburg
969c14ede9
Fix feature group for cargo-semver-check (#517) 2024-03-29 16:59:31 -04:00
Kevin Flansburg
8bcc702359
Supply token so that cargo-binstall does not encounter rate limits (#515)
* Supply token so that cargo-binstall does not encounter ratelimits

* Trigger PR workflow on Release PR
2024-03-29 10:52:45 -04:00
Kevin Flansburg
d38a754da9
Add semver checks and sanity-check build to create-release-pr (#512) 2024-03-29 07:49:14 -04:00
Kevin Flansburg
b2aabc1be1
Introduce http feature for http crate types (#477)
* http 1.1

* http feature flag

* Fetcher http flag

* Implement todos

* Implement redirect / ws / abort signal

* Add http tests to CI

* Add Cf context to http::Request

* Fix test working directories

* Axum example

* fix clippy in CI

* Handle generic http_body return type

* Documentation

* Remove unwraps

* Tweak introduction version in docs

* Final touches
2024-03-15 09:44:58 -04:00
Kevin Flansburg
cfaabb5c02
Workflow to create release after PR merge (#470)
* Workflow to create release after PR merge

* Fix step id

* Only run when pr was targeting main
2024-03-13 17:46:04 -04:00
Kevin Flansburg
b5e03e7ccd
Do not confirm cargo version bump (#468) 2024-03-08 11:32:40 -08:00
Kevin Flansburg
2cc80a6c01
Fix typo (#467) 2024-03-08 11:24:00 -08:00
Kevin Flansburg
aaec3df2a5
Manually create release PR (#466) 2024-03-08 11:21:43 -08:00
Kevin Flansburg
ffbebd9722
typo (#465) 2024-03-08 09:59:44 -08:00
Kevin Flansburg
5f078bfdeb
Release PR action (#464) 2024-03-08 09:48:04 -08:00
Zeb Piasecki
7fc81655de chore: switch to miniflare3 using vitest
Updates CI to use miniflare 3 when testing against worker-sandbox using
vitest instead of Cargo's built in test runner.
2023-06-13 09:40:22 -07:00
Tony Giorgio
0b4b53df4b Update bug_report.yml to ask for wrangler version 2023-06-01 11:50:17 -04:00
Jonathan Donaldson
b8c77f13e9
Update miniflare in CI and fix clippy lints (#2) 2022-12-15 18:57:28 +00:00
Zeb Piasecki
6810165620 fix CI 2022-09-13 15:39:35 -04:00
Zeb Piasecki
6b05f17e75 chore: remove references to tests in actions workflow 2022-07-28 15:21:06 -04:00
Zeb Piasecki
70461fa402
Merge pull request #167 from ocsfrank/frank/changeset
Add changeset to ease release process
2022-06-24 12:16:06 -04:00
ocsfrank
72b599ba69 Add github templates for bugs and features 2022-05-19 10:25:52 -07:00
Frank
df554b55c2 add changeset 2022-04-08 14:08:05 -07:00
Zeb Piasecki
40a6f625aa chore: use local worker-build in CI 2022-02-17 15:25:28 -05:00
Zeb Piasecki
9dc014a506
chore: fix unused function warning (#139)
With the addition of integration testing for websockets we
unintentionally introduced a warning where some functions declared in
the integration test's util module were unused. This is because all
integration tests are compiled as seperate binaries so for the websocket
binary functions weren't used for that specific compile job.

This also adjust flags in the CI to catch warnings like this in the
future.
2022-02-11 10:21:03 -07:00
Zeb Piasecki
b8e118cc28
fix: uninitialized wasm imports (#134)
* fix: uninitialized wasm imports

Previously we generated a "export_wasm.mjs" that imported all of the
glue generated by wasm bindgen and modified the glue to import from the
generated file. This caused a circular import leading to some functions,
specifically ones that were just const aliases of builtins, generated by
wasm-bindgen to be uninitialized and cause a crash.

To fix this we move all of the code in the "export_wasm.mjs" to that
glue file.

* chore: add test to ensure all imports are found

Adds a unit test in worker-build that ensures that all wasm imports in a
binary compiled from bindgen-test-subject are found in the generated JS.
This is to give us a way to make sure our naive method of finding generated
exports works even if wasm-bindgen makes a breaking change.

* chore: add worker-build test to ci
2022-02-08 14:07:37 -07:00
Zeb Piasecki
85a69db106 chore: remove CF_API_TOKEN from testing workflow 2022-01-26 14:29:11 -05:00
Zeb Piasecki
af0172479f
Merge branch 'main' into chore/integration-testing-action 2022-01-25 15:06:47 -05:00
Zeb Piasecki
8447f17f7b chore: add tests for all routes and fix actions 2022-01-25 14:40:50 -05:00
Zeb Piasecki
6f960dc10f feat: begin add github action workflow 2022-01-25 14:39:38 -05:00
Zeb Piasecki
33f12062fd chore: add linter CI check 2022-01-25 13:38:56 -05:00
Steve Manuel
57e74bee6e chore: add logo asset and update readme 2021-09-02 17:33:17 -06:00