Repository navigation
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
51 lines (51 loc) · 2.46 KB
/
Copy pathwrangler.jsonc
File metadata and controls
51 lines (51 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "wasm-oj-development",
"main": "./worker/index.ts",
"compatibility_date": "2026-08-09",
"compatibility_flags": ["nodejs_compat"],
"upload_source_maps": true,
"observability": {
"enabled": true,
"logs": { "enabled": true, "head_sampling_rate": 1, "invocation_logs": false, "persist": true },
"traces": { "enabled": false, "head_sampling_rate": 0, "persist": false }
},
"assets": { "directory": "./dist/client", "binding": "ASSETS", "run_worker_first": true },
"version_metadata": { "binding": "CF_VERSION_METADATA" },
"vars": {
"ENVIRONMENT": "development",
"PUBLIC_ORIGIN": "http://localhost:3000",
"WASM_OJ_BUILD_ID": "0000000000000000000000000000000000000000",
"GITHUB_OAUTH_CLIENT_ID": "development-only",
"GITHUB_APP_ID": "development-only",
"GITHUB_APP_SLUG": "development-only",
"STAGING_ALLOWED_GITHUB_USER_IDS": "",
"TURNSTILE_SITE_KEY": "development-only",
"OFFICIAL_GITHUB_REPOSITORY_ID": "1328710736"
},
"d1_databases": [
{ "binding": "DB", "database_name": "wasm-oj-core-development", "database_id": "local-wasm-oj-core", "migrations_dir": "migrations/core" }
],
"r2_buckets": [
{ "binding": "JUDGE_BUCKET", "bucket_name": "wasm-oj-judge-development" }
],
"durable_objects": {
"bindings": [
{ "name": "SUBMISSION_CONTAINER", "class_name": "SubmissionJudgeContainer" }
]
},
"migrations": [
{ "tag": "v1", "new_sqlite_classes": ["SubmissionDO", "ProblemLeaderboardDO", "ContestDO", "UserQuotaDO", "AdmissionControlDO", "SubmissionJudgeContainer", "ValidationJudgeContainer"] },
{ "tag": "v2", "deleted_classes": ["SubmissionDO", "ProblemLeaderboardDO", "ContestDO", "UserQuotaDO", "AdmissionControlDO"] },
{ "tag": "v3", "deleted_classes": ["ValidationJudgeContainer"] }
],
"workflows": [
{ "name": "wasm-oj-submission-development", "binding": "SUBMISSION_WORKFLOW", "class_name": "SubmissionWorkflow" },
{ "name": "wasm-oj-catalog-development", "binding": "CATALOG_WORKFLOW", "class_name": "CatalogWorkflow" },
{ "name": "wasm-oj-prompt-attempt-development", "binding": "PROMPT_ATTEMPT_WORKFLOW", "class_name": "PromptAttemptWorkflow" }
],
"containers": [
{ "name": "wasm-oj-submission-development", "class_name": "SubmissionJudgeContainer", "image": "./Dockerfile", "instance_type": "standard-2", "max_instances": 50, "ssh": { "enabled": false } }
],
"triggers": { "crons": ["* * * * *"] }
}