Files
fil/fixtures/contract/config_tree_sitter.json
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

52 lines
996 B
JSON

{
"id": "config_tree_sitter",
"description": "Tests tree-sitter configuration round-trip",
"tags": [
"contract",
"config",
"tree-sitter"
],
"call": "extract_file_sync",
"input": {
"path": "code/hello.py",
"config": {
"tree_sitter": {
"languages": [
"python",
"rust"
],
"groups": [
"web"
],
"process": {
"structure": true,
"imports": true,
"exports": true,
"comments": false,
"docstrings": false,
"symbols": false,
"diagnostics": false
}
}
}
},
"assertions": [
{
"type": "equals",
"field": "mime_type",
"value": "text/x-source-code"
},
{
"type": "min_length",
"field": "content",
"value": 5
}
],
"skip": {
"languages": [
"wasm"
],
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
}
}