feat: release Dever 0.1.5 with direct workers and long transactions

This commit is contained in:
Codex committed 2026-10-11 11:17:33 +00:00
1 parent 89629c2197
commit a900d7e8db
153 files changed
+3676 -3708

No files matched your search

+12
View File
@@ -56,6 +56,18 @@ fn assert_roundtrip_at(path: &FilePath, source: &str) -> String {
output
}
#[test]
fn long_entry_modifiers_roundtrip_without_changing_visibility_or_job_policy() {
let api = "public long post generate=app.generate\nlong cmd generate=app.generate\npost create=app.create\n";
let formatted = assert_roundtrip_at(FilePath::new("content/item/api.dever"), api);
assert!(formatted.contains("public long post generate = app.generate"));
assert!(formatted.contains("long cmd generate = app.generate"));
assert!(formatted.contains("post create = app.create"));
let job = "long job generate()()retry(3)timeout(30000){app.generate()}";
let formatted = assert_roundtrip_at(FilePath::new("content/item/job.dever"), job);
assert!(formatted.contains("long job generate() () retry(3) timeout(30000)"));
}
#[test]
fn canonical_layout_preserves_field_evaluation_order_and_groups() {
let source = "type Pair{a:Int\nb:Int}\npublic main( )(result:Pair){result=Pair{b=second()\na=first()}}\n";