mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-26 05:29:45 +00:00
Run extracted CI classification from its actual checkout root
The full committed-source installtests race run source-8gv7x0gy failed all code-bearing classification cases with exit 127: the extracted workflow invokes scripts/go-test-compile-required.sh relative to the checkout, while Go starts tests in scripts/installtests. Match the Actions working directory without stubbing the classifier, weakening strict audit or changing workflow behaviour. Contract-Neutral: Verification-only working-directory repair; the existing real workflow cases, classifier and strict/inherited audit contract are unchanged. Change-source: pulse-maintainer
This commit is contained in:
@@ -5156,6 +5156,9 @@ func TestFrontendChangeClassificationPreservesStrictAudit(t *testing.T) {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
||||
defer cancel()
|
||||
cmd := exec.CommandContext(ctx, "bash", "-c", run)
|
||||
// Actions runs this shell from checkout root; its real relative
|
||||
// compile-classifier helper must resolve there, not in this package.
|
||||
cmd.Dir = repoFile()
|
||||
cmd.Env = env
|
||||
result, commandErr := cmd.CombinedOutput()
|
||||
if tc.diffStatus != 0 {
|
||||
|
||||
Reference in New Issue
Block a user