30a4e24656
zig 0.12.0: upgrade standalone_server_build
2024-05-06 13:22:57 -07:00
d72b5f6b6f
zig 0.12.0: update interface for headergate
2024-05-06 13:22:23 -07:00
decb2d34af
zig 0.12.0: upgrade console.zig/refactor headers
2024-05-06 12:16:06 -07:00
a962e05d82
zig 0.12.0: remove all files that should come from dependent packages
2024-05-06 12:15:29 -07:00
5f1b1a52be
add resource usage stats when built in debug mode
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m6s
2024-02-25 17:04:08 -08:00
31b363bc0d
re-enable lib tests
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m45s
2024-01-09 14:42:18 -08:00
098ceffb41
try wasmtime again
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 2m46s
2024-01-09 14:34:49 -08:00
dd4935b5e5
move cross target testing into zig build test
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 2m58s
2024-01-09 14:28:20 -08:00
4c987d0959
fix flexilib build
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m43s
2023-11-17 12:26:48 -08:00
e5a1099f74
update build options module name and readme
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m28s
2023-10-28 15:51:41 -07:00
0736660669
adjust test build to deal with library-based systems
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m33s
2023-10-28 08:31:12 -07:00
90f1461207
eliminate small supervisor memory leak when handler panics
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m53s
2023-10-26 13:40:08 -07:00
9941e0cebb
new plan for process supervision
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m36s
2023-10-25 17:34:15 -07:00
8227857563
need arg0 to be exe name
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m36s
2023-10-25 17:27:04 -07:00
edeed81e06
test of panic handling in server
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m34s
2023-10-25 17:24:15 -07:00
bebf1b9dfa
add commented windows build (currently fails due to env vars)
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m52s
2023-10-25 12:00:35 -07:00
a810ce2105
fix 32 bit linux arm
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m58s
2023-10-25 10:19:51 -07:00
95b5394aa8
fix standalone server test
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m31s
2023-10-25 09:53:30 -07:00
e84f6e7efe
get standalone server under (failing) test
2023-10-25 09:46:52 -07:00
878f62ef0a
add proxy support to Cloudflare
2023-10-25 09:19:06 -07:00
02df7a1c75
change error name to be less confusing
2023-10-25 09:18:58 -07:00
5376b6a725
fix downstream build issues
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 2m37s
2023-10-25 00:14:33 -07:00
cbcdaf5bd7
remove dummy test in cloudflaredeploy.zig
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m49s
2023-10-24 23:58:12 -07:00
dcf00d8460
rework context
...
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m50s
This commit is a significant refactor that fixes a number of things.
1. Replaces the optional helpers import (which was always weird) with a
mandatory interface import on behalf of the application. This is
actually a good thing as it enables all things below.
2. Removes the severely awkward union that was the lambda context. Now,
no matter how your handler runs, a single object with everything you
need is fully populated and (nearly always) works as you would
expect. There is a slight exception to this with AWS Lambda that is
related to the service itself. It is also possible that not
everything is passed in correctly for Cloudflare, which, if true,
will be addressed later.
3. Allows writes to the context object. These will be added to the
output, but is implementation dependent, and I'm not 100% sure I've
got it right yet, but the infrastructure is there.
4. Allows proper tests throughout this project.
5. Allows proper tests in the application too.
6. Removes the need for the handler to be public under flexlib. Flexilib
handler registration now works just like everything else. Note,
however, that flexilib is unique in that your handler registration
function will return before the program ends. If this is important
for resource cleanup, @import("build_options").build_type is your
friend.
7. Request method can now be passed into console applications using -m
or --method
2023-10-24 23:45:12 -07:00
2915453c1b
add writer helper
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m44s
2023-10-24 12:17:42 -07:00
6c89380fea
address null reference on AWS
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m32s
2023-10-23 14:05:44 -07:00
983a1a6649
fix flexilib interface
2023-10-23 13:55:36 -07:00
05dd8b7e06
support -u/--url command line args to determine target
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 2m0s
2023-10-23 13:45:17 -07:00
29687e1440
update README that main should return !u8
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m43s
2023-10-23 12:55:28 -07:00
47e4b0d54c
allow handler more control in status reporting
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m46s
2023-10-23 12:49:18 -07:00
d8b5366515
return rest instead of next so values with = works
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m36s
2023-10-22 12:50:21 -07:00
33cb2589af
not sure why wasmtime is not working - disable foreign checks for now
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m39s
2023-10-22 12:32:11 -07:00
ffc584c5f2
add backtrace details for debugging
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m25s
2023-10-22 12:23:14 -07:00
d027c456c4
put wasmtime in path
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m33s
2023-10-22 12:22:35 -07:00
9ac9dc6e59
add wasmtime to build
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m27s
2023-10-22 12:08:18 -07:00
518da5e476
ignore test that seems to leak only under wasi (hmm?)
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m20s
2023-10-22 12:04:03 -07:00
1d0da7c80f
add helper tests/change header helper to get all headers
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m31s
2023-10-22 11:53:51 -07:00
346bd1d084
allow helpers to actually compile
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m39s
2023-10-21 14:27:08 -07:00
804c797394
add a universal_lambda_helpers module to compilation unit
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m16s
2023-10-21 13:20:49 -07:00
5b4bf37424
add helpers from example as an optional module for use downstream
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m18s
2023-10-21 13:08:06 -07:00
e6ac41f4df
update README
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m28s
2023-10-20 23:06:13 -07:00
ee5dd01e73
make sure steps are in alphabetical order
2023-10-20 22:59:34 -07:00
70b0fda03b
append ".wasm" to the compile exe name for Cloudflare
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m23s
2023-10-20 22:54:08 -07:00
e7a6aa5f04
allow cloudflare to be used for zig build
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m50s
2023-10-20 22:44:30 -07:00
843bc56558
use final_script in deployment
2023-10-20 22:44:12 -07:00
0c6a9366f5
cloudflare fixes
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m32s
2023-10-20 22:28:38 -07:00
88eb415a1e
cloudflare deploy not designed for wasi
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m30s
2023-10-20 22:04:41 -07:00
cbe8b6dd1f
initial commit: cloudflare
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m39s
2023-10-20 21:58:34 -07:00
5405b9eeff
skip lambda test decls under wasi
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m27s
2023-10-06 12:09:49 -07:00
668debd29d
initial WASI support
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 1m36s
2023-10-06 11:48:19 -07:00