Skip to content

fix(tics): make the TICS workflow pass on the TIOBE runner - #228

Merged
cbartz merged 5 commits into
mainfrom
fix/tics-unset-runner-hooks
Oct 2, 2026
Merged

cbartz merged 5 commits into
mainfrom
fix/tics-unset-runner-hooks

Conversation

@cbartz

@cbartz cbartz commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Two fixes to the TICS workflow so it completes on the TIOBE self-hosted runner:

  • Unsets ACTIONS_RUNNER_HOOK_JOB_STARTED and ACTIONS_RUNNER_HOOK_JOB_COMPLETED before running the L0 suite.
  • Removes the gitignored test artifacts (src/Test/TestLogs, _downloads) before TICS runs.

Why

  • The runner's pre-job.sh hook variable leaks into the tests, and JobExtensionL0.JobExtensionBuildStepsList fails with Expected: 5, Actual: 6 (run 36863652543).
  • With the tests passing, TICS treated the ~727 generated logs as new source files and aborted on its sanity check (ERROR 5023, threshold 200) (run 36871940880).

Testing

  • actionlint passes.
  • Dispatched from this branch with a temporary job-gate relaxation, since reverted: run 36878458244. 1160/1160 L0 tests passed and TICS completed successfully. The first attempt hit an unrelated timing flake in BackgroundStepsL0.CanceledBackgroundStepDoesNotAffectJobResult; the re-run passed.

AI-generated message.

Copilot AI lite review requested due to automatic review settings October 1, 2026 12:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The scoped workflow change addresses the test failure without unresolved issues.

Review effort: Lite
Findings: None

What changed in this PR

Updates the TICS workflow to prevent self-hosted runner hooks from affecting L0 tests.

Changes:

  • Unsets both job-hook environment variables before running tests.
  • Preserves coverage collection and test execution.
File Description
.github/​workflows/​tics.yaml Prevents runner hooks from affecting L0 tests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@cbartz
cbartz marked this pull request as draft October 1, 2026 13:52
@cbartz cbartz changed the title fix(tics): unset runner job hooks for L0 tests fix(tics): make the TICS workflow pass on the TIOBE runner Oct 1, 2026
@cbartz
cbartz marked this pull request as ready for review October 2, 2026 05:48
@cbartz
cbartz enabled auto-merge (squash) October 2, 2026 05:49
@cbartz
cbartz merged commit c91a460 into main Oct 2, 2026
8 checks passed
@cbartz
cbartz deleted the fix/tics-unset-runner-hooks branch October 2, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants