tulsi icon indicating copy to clipboard operation
tulsi copied to clipboard

BES parser reads uri as path without decoding it

Open ashi009 opened this issue 3 years ago • 0 comments

Bazel allows some of the \W characters in the label name, which will be percent-encoded in the build event stream. The BES parser is not decoding those percent-encoded characters ATM:

https://github.com/bazelbuild/tulsi/blob/b965114f31a464185318c71ef3d0c1538d0c52de/src/TulsiGenerator/BazelBuildEvents.swift#L27-L32

and causes execution error:

10:21:25 AM: Failed to parse information about supported target in '/private/var/tmp/<redacted>/bazel-out/ios_x86_64-dbg/bin/WatchKit2%20Extension/<redacted>.tulsiinfo'. This is a Tulsi or Bazel bug, please report. Debug info: The file could not be read

ashi009 avatar Dec 28 '20 03:12 ashi009