Repository navigation
Forged JCL jobs fix an IF result at first evaluation, as IBM does (Part of #8886) - #9237
Conversation
…rt of #8886) The job_flow fact carries each step's enclosing IF constructs (if_chain); the forge emits them and JclConditions.bypassed evaluates each construct once (JCL Reference, IF/THEN/ELSE Example 9). The fixture comparison goes from 2 known differences to 0 (42 of 42 IBM-written answers agree). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
No description provided. |
|
PR #9237 @ 9f8fcea: 1 failed check(s) == compile (zopeneditor-sample) (failure) -- real ℹ️ Gradle version is out of date — consider upgrading. See Gradle release lifecycle ============================ Gradle State Caching - DisabledCaching was disabled — Gradle User Home was not restored from or saved to the cache. ##[endgroup] ##[notice]Gradle 8.10.2 is out of date: consider updating to the latest Gradle version. See https://docs.gradle.org/current/userguide/feature_lifecycle.html#eol_support Completed post-action step Post job cleanup. Post job cleanup. [command]/usr/bin/git version git version 2.56.1 Temporarily overriding HOME='/home/runner/work/_temp/5e5d286e-dc08-4f46-8707-acc15afed61b' before making global git config changes Adding repository directory to the temporary git global config as a safe directory [command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/base Removing SSH command configuration [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" Removing HTTP extra header [command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" Removing includeIf entries pointing to credentials config files [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir: [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url Post job cleanup. [command]/usr/bin/git version git version 2.56.1 Temporarily overriding HOME='/home/runner/work/_temp/8de5a157-70b7-4106-9ce2-45494660bdb7' before making global git config changes Adding repository directory to the temporary git global config as a safe directory [command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy Removing SSH command configuration [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" Removing HTTP extra header [command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" Removing includeIf entries pointing to credentials config files [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir: [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url Cleaning up orphan processes |
…obolrt API manifest regenerated (Part of #8886) ifChains uses ConcurrentHashMap on every job, but the import sat inside the IDCAMS-only block, so a job with no IDCAMS step failed to compile (compile zopeneditor-sample). JclConditions.bypassed is emitter-used, so the manifest promotes it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
CI shepherd: the head of this PR (90fd797) is not the one a maintainer labelled |
|
No description provided. |
Part of #8886. Checklist: done [c:1b7f6936]
What changed
IBM fixes an IF construct's result when it is first evaluated and does not re-evaluate it for later steps (JCL Reference, IF/THEN/ELSE Example 9). The forged Spring jobs re-evaluated it per step, which was the last two differences in #8821's forged-job comparison (
abn-a2-s0c4A3 and A4).job_flowfact channel carriesif_chain([[IF line, condition as written, in_else], ...], outermost first, presence-keyed healed column, also in_JOB_FLOW_DDL).galaxy_ir.job_steps()passes it on the step and onexpands_toentries.steps.ifChain(...);JclConditions.bypassedevaluates each construct once, caches it in the step execution context, and bypasses ondone == in_else. With no chain it behaves as before.KNOWN_DIFFERENCESis now empty and the test asserts (42, 0, 0): all 42 IBM-written answers agree (2 known differences before this slice).Class / Sibling gaps
Class: JCL conditions whose result depends on state at first evaluation rather than per step. Fixed here: IF/ELSE chains around plain steps and proc-call steps (the caller's chain). Siblings not done:
if_cond, not a chain of the proc's own IF lines (no burned CardDemo proc has an IF today).Facts checked
test_jcl_forged_job_fixture.py,test_jcl_forged_job_carddemo.py,test_galaxy_ir.py,test_fact_channels.py: 115 passed, 1 skipped.pr_gates --fast: 8/9 on the first run; the one failure (docs_read_by_tests.txtstale) was fixed withchange_classifier.py --write, and that regenerated file is included.audit_check.py: all clear.pr_gates --ratchets: 6 pass; fact-crosscheck, completeness and ground-truth fail because corpusexample-health-apiscannot be fetched (its upstream repo returns "not found"). I did not run an unchanged-main control, so I cannot show they fail there too.Lessons for agents
*_DDLtext, ortest_every_channel_declares_a_schema_that_names_its_own_tablefails.test_the_forge_guard_is_the_one_the_driver_mirrors).🤖 Generated with Claude Code