Conversation
The liquidsoap stub records its argv and env so the AC5 facts can prove the version never reaches the engine. The child inherited the runner's environment, so on a branch named chore/release-v5.14.0-pins CI's GITHUB_HEAD_REF alone carried v5.14.0 and falsely failed LiquidsoapNeverSeesTheVersionValue (PR #877). ScriptProcess gains RunWithEmptyEnvironment (cleared env, PATH = stub bin + extraEnv) built on shared CreateStartInfo/ApplyExtraEnv/StartAndDrain; Run/Start behaviour is unchanged. A positive fact (GW_XFADE_MIN=2 reaches liquidsoap) keeps the never-contains facts from passing on an empty dump.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🐛 What
CI on #877 falsely failed
FeatureVersionMarkers+ScenarioTheEngineEntrypoint.LiquidsoapNeverSeesTheVersionValue. The fake liquidsoap records its argv and env, and the script inherited the runner's environment. On a branch namedchore/release-v5.14.0-pins,GITHUB_HEAD_REFalone containedv5.14.0. This affects tests only; nothing inengine/orsrc/changes.🔧 Fix
ScriptProcess.RunWithEmptyEnvironment: starts the script with a cleared environment, with PATH set to the stub bin plusextraEnv. It sharesCreateStartInfo,ApplyExtraEnvandStartAndDrainwithRun/Start, whose behaviour is unchanged.LiquidsoapWasHandedTheTuningKeys:GW_XFADE_MIN=2reaches liquidsoap, so the never-contains facts can't pass on an empty dump.✅ Proof
"$app_version"as an argument,GW_APP_VERSION=… exec, andexport app_version.engine/was reverted afterwards.GITHUB_HEAD_REF=chore/release-v5.14.0-pins dotnet test … --filter FeatureVersionMarkerspasses 22/22.dotnet test GenWave.sln --filter "Category!=Integration"has 0 failed across 9 projects (Host 3232 passed / 13 skipped).Unblocks #877.