Skip to content

Commit a88cf19

Browse files
committed
ci: Remove unused generate wit extensions
1 parent 7346580 commit a88cf19

12 files changed

Lines changed: 610 additions & 626 deletions

File tree

.github/workflows/sync-flake-lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Generate wit support and extensions
4444
run: |
4545
nix develop . --command ./scripts/obelisk-generate-wit-support.sh
46-
nix develop . --command ./scripts/obelisk-generate-wit-extensions.sh
46+
nix develop . --command ./scripts/dev-deps.sh
4747
4848
- name: Generate Unique Branch Name
4949
id: branch-name

scripts/obelisk-generate-wit-extensions.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
1+
// Generated by Obelisk 0.35.4
12
package obelisk-client:api-http-obelisk-ext@1.0.0-beta;
23

34
interface executions {
4-
use obelisk:types/execution@4.1.0.{execution-id};
5-
use obelisk-client:api-http/executions@1.0.0-beta.{execution-with-state};
6-
use obelisk:types/join-set@4.1.0.{join-set};
7-
use obelisk:types/execution@4.1.0.{await-next-extension-error, get-extension-error};
5+
use obelisk:types/execution@4.1.0.{execution-id};
6+
use obelisk-client:api-http/executions@1.0.0-beta.{execution-with-state};
7+
use obelisk:types/join-set@4.1.0.{join-set};
8+
use obelisk:types/execution@4.1.0.{await-next-extension-error, get-extension-error};
89

9-
generate-submit: func(join-set: borrow<join-set>) -> execution-id;
10+
generate-submit: func(join-set: borrow<join-set>) -> execution-id;
1011

11-
generate-await-next: func(join-set: borrow<join-set>) -> result<tuple<execution-id, result<execution-id>>, await-next-extension-error>;
12+
generate-await-next: func(join-set: borrow<join-set>) -> result<tuple<execution-id, result<execution-id>>, await-next-extension-error>;
1213

13-
generate-get: func(execution-id: execution-id) -> result<result<execution-id>, get-extension-error>;
14+
generate-get: func(execution-id: execution-id) -> result<result<execution-id>, get-extension-error>;
1415

15-
list-submit: func(join-set: borrow<join-set>, endpoint-url: string) -> execution-id;
16+
list-submit: func(join-set: borrow<join-set>, endpoint-url: string) -> execution-id;
1617

17-
list-await-next: func(join-set: borrow<join-set>) -> result<tuple<execution-id, result<list<execution-with-state>, string>>, await-next-extension-error>;
18+
list-await-next: func(join-set: borrow<join-set>) -> result<tuple<execution-id, result<list<execution-with-state>, string>>, await-next-extension-error>;
1819

19-
list-get: func(execution-id: execution-id) -> result<result<list<execution-with-state>, string>, get-extension-error>;
20+
list-get: func(execution-id: execution-id) -> result<result<list<execution-with-state>, string>, get-extension-error>;
2021

21-
submit-submit: func(join-set: borrow<join-set>, endpoint-url: string, execution-id: execution-id, ffqn: string, params: string) -> execution-id;
22+
submit-submit: func(join-set: borrow<join-set>, endpoint-url: string, execution-id: execution-id, ffqn: string, params: string) -> execution-id;
2223

23-
submit-await-next: func(join-set: borrow<join-set>) -> result<tuple<execution-id, result<_, string>>, await-next-extension-error>;
24+
submit-await-next: func(join-set: borrow<join-set>) -> result<tuple<execution-id, result<_, string>>, await-next-extension-error>;
2425

25-
submit-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>;
26+
submit-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>;
2627
}
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1+
// Generated by Obelisk 0.35.4
12
package obelisk-client:api-http-obelisk-schedule@1.0.0-beta;
23

34
interface executions {
4-
use obelisk:types/execution@4.1.0.{execution-id};
5-
use obelisk-client:api-http/executions@1.0.0-beta.{execution-with-state};
6-
use obelisk:types/time@4.1.0.{schedule-at};
5+
use obelisk:types/execution@4.1.0.{execution-id};
6+
use obelisk-client:api-http/executions@1.0.0-beta.{execution-with-state};
7+
use obelisk:types/time@4.1.0.{schedule-at};
78

8-
generate-schedule: func(schedule-at: schedule-at) -> execution-id;
9+
generate-schedule: func(schedule-at: schedule-at) -> execution-id;
910

10-
list-schedule: func(schedule-at: schedule-at, endpoint-url: string) -> execution-id;
11+
list-schedule: func(schedule-at: schedule-at, endpoint-url: string) -> execution-id;
1112

12-
submit-schedule: func(schedule-at: schedule-at, endpoint-url: string, execution-id: execution-id, ffqn: string, params: string) -> execution-id;
13+
submit-schedule: func(schedule-at: schedule-at, endpoint-url: string, execution-id: execution-id, ffqn: string, params: string) -> execution-id;
1314
}
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1+
// Generated by Obelisk 0.35.4
12
package obelisk-client:api-http@1.0.0-beta;
23

34
interface executions {
4-
type execution-id = string;
5+
type execution-id = string;
56

6-
record execution-with-state {
7-
execution-id: execution-id,
8-
}
7+
record execution-with-state {
8+
execution-id: execution-id,
9+
}
910

10-
generate: func() -> result<execution-id>;
11+
generate: func() -> result<execution-id>;
1112

12-
%list: func(endpoint-url: string) -> result<list<execution-with-state>, string>;
13+
%list: func(endpoint-url: string) -> result<list<execution-with-state>, string>;
1314

14-
submit: func(endpoint-url: string, execution-id: execution-id, ffqn: string, params: string) -> result<_, string>;
15+
submit: func(endpoint-url: string, execution-id: execution-id, ffqn: string, params: string) -> result<_, string>;
1516
}
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1+
// Generated by Obelisk 0.35.4
12
package obelisk-components:generic-http-obelisk-ext@0.1.0;
23

34
interface http {
4-
use obelisk-components:generic-http/http@0.1.0.{method, headers, request-body, response-body, response, request-error};
5-
use obelisk:types/execution@4.1.0.{execution-id};
6-
use obelisk:types/join-set@4.1.0.{join-set};
7-
use obelisk:types/execution@4.1.0.{await-next-extension-error, get-extension-error};
5+
use obelisk-components:generic-http/http@0.1.0.{method, headers, request-body, response-body, response, request-error};
6+
use obelisk:types/execution@4.1.0.{execution-id};
7+
use obelisk:types/join-set@4.1.0.{join-set};
8+
use obelisk:types/execution@4.1.0.{await-next-extension-error, get-extension-error};
89

9-
request-submit: func(join-set: borrow<join-set>, method: method, url: string, headers: headers, body: option<request-body>) -> execution-id;
10+
request-submit: func(join-set: borrow<join-set>, method: method, url: string, headers: headers, body: option<request-body>) -> execution-id;
1011

11-
request-await-next: func(join-set: borrow<join-set>) -> result<tuple<execution-id, result<response, request-error>>, await-next-extension-error>;
12+
request-await-next: func(join-set: borrow<join-set>) -> result<tuple<execution-id, result<response, request-error>>, await-next-extension-error>;
1213

13-
request-get: func(execution-id: execution-id) -> result<result<response, request-error>, get-extension-error>;
14+
request-get: func(execution-id: execution-id) -> result<result<response, request-error>, get-extension-error>;
1415
}
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
// Generated by Obelisk 0.35.4
12
package obelisk-components:generic-http-obelisk-schedule@0.1.0;
23

34
interface http {
4-
use obelisk-components:generic-http/http@0.1.0.{method, headers, request-body, response-body, response, request-error};
5-
use obelisk:types/execution@4.1.0.{execution-id};
6-
use obelisk:types/time@4.1.0.{schedule-at};
5+
use obelisk-components:generic-http/http@0.1.0.{method, headers, request-body, response-body, response, request-error};
6+
use obelisk:types/execution@4.1.0.{execution-id};
7+
use obelisk:types/time@4.1.0.{schedule-at};
78

8-
request-schedule: func(schedule-at: schedule-at, method: method, url: string, headers: headers, body: option<request-body>) -> execution-id;
9+
request-schedule: func(schedule-at: schedule-at, method: method, url: string, headers: headers, body: option<request-body>) -> execution-id;
910
}
Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
1+
// Generated by Obelisk 0.35.4
12
package obelisk-components:generic-http@0.1.0;
23

34
interface http {
4-
enum method {
5-
get,
6-
post,
7-
put,
8-
delete,
9-
patch,
10-
head,
11-
options,
12-
}
5+
enum method {
6+
get,
7+
post,
8+
put,
9+
delete,
10+
patch,
11+
head,
12+
options,
13+
}
1314

14-
type headers = list<tuple<string, string>>;
15+
type headers = list<tuple<string, string>>;
1516

16-
variant request-body {
17-
text(string),
18-
binary(list<u8>),
19-
}
17+
variant request-body {
18+
text(string),
19+
binary(list<u8>),
20+
}
2021

21-
variant response-body {
22-
text(string),
23-
binary(list<u8>),
24-
}
22+
variant response-body {
23+
text(string),
24+
binary(list<u8>),
25+
}
2526

26-
record response {
27-
status-code: u16,
28-
headers: headers,
29-
body: option<response-body>,
30-
}
27+
record response {
28+
status-code: u16,
29+
headers: headers,
30+
body: option<response-body>,
31+
}
3132

32-
variant request-error {
33-
execution-failed,
34-
invalid-url(string),
35-
network-error(string),
36-
io-error(string),
37-
}
33+
variant request-error {
34+
execution-failed,
35+
invalid-url(string),
36+
network-error(string),
37+
io-error(string),
38+
}
3839

39-
request: func(method: method, url: string, headers: headers, body: option<request-body>) -> result<response, request-error>;
40+
request: func(method: method, url: string, headers: headers, body: option<request-body>) -> result<response, request-error>;
4041
}

0 commit comments

Comments
 (0)