Feature Summary
VFSURIFactory.decode_uri lowercases the resource suffix before constructing VFSResourceType, but two valid shared protocol values are camel case. Python therefore rejects Scala-produced runtime statistics and console message URIs.
Before: runtimeStatistics or consoleMessages -> lowercase suffix -> unknown resource type
After: preserve the encoded suffix -> valid resource type is decoded
Expected behavior:
Every resource suffix emitted by the shared Scala VFS protocol should decode to the matching Python enum value.
Reproduction evidence:
Decode the four resource URI suffixes defined by VFSResourceType.
Observed on 50321e403c82df299a13deb50a7f9849dd93bdba:
result=result
state=state
runtimeStatistics_error=ValueError: Unknown resource type: runtimestatistics
consoleMessages_error=ValueError: Unknown resource type: consolemessages
Version and commit evidence:
1.3.0-incubating-SNAPSHOT (main)
Commit Hash (Optional)
50321e403c82df299a13deb50a7f9849dd93bdba
Proposed Solution or Design
After: preserve the encoded suffix -> valid resource type is decoded
Expected behavior:
Affected Area
Workflow Engine (Amber)
Feature Summary
VFSURIFactory.decode_urilowercases the resource suffix before constructingVFSResourceType, but two valid shared protocol values are camel case. Python therefore rejects Scala-produced runtime statistics and console message URIs.Before:
runtimeStatisticsorconsoleMessages-> lowercase suffix -> unknown resource typeAfter: preserve the encoded suffix -> valid resource type is decoded
Expected behavior:
Every resource suffix emitted by the shared Scala VFS protocol should decode to the matching Python enum value.
Reproduction evidence:
Decode the four resource URI suffixes defined by
VFSResourceType.Observed on
50321e403c82df299a13deb50a7f9849dd93bdba:Version and commit evidence:
1.3.0-incubating-SNAPSHOT (main)
Commit Hash (Optional)
50321e403c82df299a13deb50a7f9849dd93bdbaProposed Solution or Design
After: preserve the encoded suffix -> valid resource type is decoded
Expected behavior:
Affected Area
Workflow Engine (Amber)