Skip to content

Fix P112 workflow parse failure caused by runner context in job env - #8

Merged
Clear1nsight merged 1 commit into
mainfrom
fix/p112-workflow-runner-context-20261019
Oct 19, 2026
Merged

Clear1nsight merged 1 commit into
mainfrom
fix/p112-workflow-runner-context-20261019

Conversation

@Clear1nsight

Copy link
Copy Markdown
Owner

Failure diagnosed

The shared .github/workflows/p112-common-slice.yml emits instantaneous failure workflow runs for every push to unrelated research branches, including QQ16 and staged544. The failing runs contain zero jobs and use the filename rather than the workflow's configured name. Examples: QQ16 #39189206135, review-base #39189759307.

The original YAML sets TMPDIR: ${{ runner.temp }}/p112-common-slice in jobs.exact-slice.env. Per GitHub context availability, runner is not available at jobs.<job_id>.env. This causes workflow validation to fail before job creation, independent of P112/QQ16 research code.

Repair

Replace the invalid job-level expression with an initial run step that writes TMPDIR=$RUNNER_TEMP/p112-common-slice to $GITHUB_ENV. The environment value is available to all subsequent steps. The upstream-only if: github.repository == 'CrocSwap/integer-mult-bounds' guard, manual workflow_dispatch trigger, resource bounds, scientific commands, and source inputs are unchanged.

This is one workflow file and one commit, based on the fork's main. Source branch commit 89031d21f01f8b676f87c76443f5afc41457a17c. GitHub branch comparison confirms no other files changed. No new failed P112 validation run was created for the repaired branch push, consistent with correction of the pre-job parsing error, but manual upstream P112 replay is not claimed.

This fork PR does not amend CrocSwap:main; installation permissions prevent creation of the corresponding upstream PR through the connected GitHub integration. To address the underlying upstream file, a separate upstream submission is still required.

Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Reuse the focused fix from 89031d2 (PR #8). Initialise TMPDIR in a runner step instead of the unavailable job-level runner context. Preserve all triggers, guards, permissions, action pins, timeouts, scientific commands and frozen inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
Clear1nsight added a commit that referenced this pull request Oct 19, 2026
Carry the focused change from 89031d2 (PR #8) onto this active branch. Initialise TMPDIR after runner setup, preserving workflow triggers, repository guard, permissions, pinned actions, timeouts, replay commands and all research inputs.

Validated YAML, exact semantic delta, shell syntax and TMPDIR assignment including spaces. Substantial OpenAI assistance.
@Clear1nsight
Clear1nsight merged commit 155f57f into main Oct 19, 2026
2 checks passed
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.

1 participant