Skip to content

docs: correct reReturnCode's stale fallback description (post aicshud/WHEEL#1017) - #144

Merged
so5 merged 1 commit into
RIKEN-RCCS:mainfrom
so5:docs/fix-reReturnCode-fallback-description
Sep 17, 2026
Merged

so5 merged 1 commit into
RIKEN-RCCS:mainfrom
so5:docs/fix-reReturnCode-fallback-description

Conversation

@so5

@so5 so5 commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

aicshud/WHEEL#1017 (merged) changed getStatusCode()'s fallback for when reReturnCode doesn't match (or captures nothing) from a hardcoded "return value = -2" to instead judging success/failure from the job status code obtained via reJobStatus/reJobStatusCode (isJobFailed()) - because a job that never produced its own exit code (canceled, held, etc.) can still have a perfectly fine status code, and hardcoding -2 unconditionally failed it.

The admin-facing docs (ja/en) for reReturnCode still described the old "-2" behavior, left stale by that fix since it never touched documentMD.

What changed

Updated both documentMD/user_guide/_for_admins/job_scheduler/index.md and index.en.md to describe the current fallback accurately.

Found while auditing every change merged to main since the last successful docs build (PR #126) for anything requiring a documentation update, at the user's request.

Note on merge timing

Per the user: this PR should be merged after the github-pages environment's deployment-branch protection rule is updated to allow main (currently still restricted to the old master branch name, causing every docs deploy to fail with "Branch main is not allowed to deploy to github-pages due to environment protection rules"). Merging beforehand is harmless (this doc-only change doesn't depend on that fix), but the user wants it as the last item merged in this batch so the fixed pipeline's first successful deploy already includes this correction.

Related

Filed against aicshud/WHEEL#1029 on GitLab (issue tracker for this project). References aicshud/WHEEL#1017.

🤖 Generated with Claude Code

https://claude.ai/code/session_01C3jKNM1qubomM8UTRdkEWu

…/WHEEL#1017)

aicshud/WHEEL#1017 changed getStatusCode()'s fallback for when reReturnCode
doesn't match (or captures nothing) from a hardcoded "return value = -2"
to instead judging success/failure from the job status code obtained via
reJobStatus/reJobStatusCode (isJobFailed()) - because a job that never
produced its own exit code (canceled, held, etc.) can still have a
perfectly fine status code, and hardcoding -2 unconditionally failed it.

The admin-facing docs (ja/en) for reReturnCode still described the old
"-2" behavior, left stale by that fix since it never touched documentMD.
Update both to describe the current fallback accurately.

Found while auditing every change merged to main since the last
successful docs build (PR RIKEN-RCCS#126) for anything requiring a documentation
update, at the user's request (aicshud/WHEEL#1029).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C3jKNM1qubomM8UTRdkEWu
@so5
so5 merged commit d6dd99e into RIKEN-RCCS:main Sep 17, 2026
@so5
so5 deleted the docs/fix-reReturnCode-fallback-description branch September 17, 2026 00:36
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