Two separate problems landed on the same popover.
Masking: an executor request returns from `compile()` via the
`executorRequest` branch, which never reaches `afterCompilation`, so
`cleanupResult` was never called on that path and the popover showed the
raw temp dir. Mask in `handleExecution` instead, before caching, so a
cold build, an execution-cache hit and a package-cache hit all render the
same. It has to happen here rather than at build time: the package stored
for S3 is serialised before any masking and `loadPackageWithExecutable`
rebuilds `inputFilename` as a fresh temp path after unpacking.
`cleanupResult` also now recurses, since what the executor displays is
`buildResult.compilationOptions`, not the top-level options.
Availability: the project/CMake path produces no `buildResult` at all and
reports what it compiled with on the inner `result`, so the popover read
`undefined` and said "No options in use". Fall back to that field.
Fixes#9088.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0168db5wLwZMU9TtcbN9ZD6v