Python VFS decoder rejects runtime statistics and console message URIs
- Dominant language
- Scala
- Stars
- 314
- Forks
- 187
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 214
Description
### Feature Summary
The Python VFS decoder lowercases the resource suffix before matching it against the canonical resource enum. Texera produces the camel-case suffixes runtimeStatistics and consoleMessages, so both valid URI types are rejected as unknown. The Scala decoder accepts the same canonical suffixes.
Before: runtimeStatistics and consoleMessages raise ValueError, while result and state decode.
After: all four canonical Texera resource suffixes decode, and unknown suffixes remain rejected.
Reproduction evidence:
1. Call VFSURIFactory.decode_uri with vfs:///wid/1/eid/2/runtimeStatistics.
2. Observe Unknown resource type: runtimestatistics.
3. Call it with vfs:///wid/1/eid/2/opid/demo/consoleMessages.
4. Observe Unknown resource type: consolemessages.
5. Use result or state as a control and observe successful decoding.
Version and commit evidence:
1.3.0-incubating-SNAPSHOT (main)
**Commit Hash (Optional)**
70c21145887920528d7d5540e3fb790b43e8b759
## Relevant log output
ValueError: Unknown resource type: runtimestatistics
ValueError: Unknown resource type: consolemessages
### Proposed Solution or Design
After: all four canonical Texera resource suffixes decode, and unknown suffixes remain rejected.
### Affected Area
Workflow Engine (Amber)
Contributor guide
Assessment
This issue has not been assessed yet.