Recover the caller’s activation group in ILE RPG programs #816

Manually merged
binjovi-bot merged 2 commits from rpg-caller-activation-group into trunk 2026-11-18 18:26:10 +00:00
Owner

Recover the caller’s activation group in ILE RPG programs

Sourcerer emits ctl-opt dftactgrp(*no) actgrp(*caller); for a program whose 128-byte activation-group record begins with 01 and has 127 zero bytes after it. Public IBM i captures of the same program compiled with *CALLER and *NEW exercise both observable and stripped objects. A malformed record still produces an activation-group failure.

Gate

== a. development emits (dev-hash)
p1 same
p2 same
p3 same
p4 same
p5 same
== b. L10-test direction
L10-test unchanged
== c. committed twins (emit-bytes-diff)
emit-bytes-diff: identical
== d. captures (capture-emit-diff)
l10-arora23saurabh-ibm-bob-ibmi-benchmar-1 base=[2,2,1] head=[2,2,0] CHANGED fail-lines=0
l10-danlong005-imoq-1 base=[8,8,1] head=[8,8,0] CHANGED fail-lines=0
l10-ossile-ossile-6 base=[13,3,11] head=[13,3,10] CHANGED fail-lines=10
activation-caller base=[1,1,1] head=[1,1,0] CHANGED fail-lines=0
capture-emit-diff: 11 cases, 4 changed, 10 with no failure line in the head emit
== e. source agreement (agree)
suspect        base=1 head=1
conflict       base=0 head=0
params_wrong   base=0 head=0
decl_missing   base=0 head=0
decl_extra     base=0 head=0
type_unmarked  base=2 head=2
== f. host round trips (both binaries)
cases to round-trip: 10
l10-scout2/l10-arora23saurabh-ibm-bob-ibmi-benchmar/l10-arora23saurabh-ibm-bob-ibmi-benchmar-1 base=different head=match
l10-scout2/l10-danlong005-imoq/l10-danlong005-imoq-1 base=different head=different
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-1 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-4 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-5 base=match head=match
dev5/p3                                            base=match head=match
dev5/p4                                            base=match head=match
dev5/p5                                            base=match head=match
activation-group-20261118/activation-caller        base=different head=match
activation-group-20261118/activation-new           base=match head=match
gate: PASS
# Recover the caller’s activation group in ILE RPG programs Sourcerer emits `ctl-opt dftactgrp(*no) actgrp(*caller);` for a program whose 128-byte activation-group record begins with `01` and has 127 zero bytes after it. Public IBM i captures of the same program compiled with `*CALLER` and `*NEW` exercise both observable and stripped objects. A malformed record still produces an activation-group failure. ## Gate ``` == a. development emits (dev-hash) p1 same p2 same p3 same p4 same p5 same == b. L10-test direction L10-test unchanged == c. committed twins (emit-bytes-diff) emit-bytes-diff: identical == d. captures (capture-emit-diff) l10-arora23saurabh-ibm-bob-ibmi-benchmar-1 base=[2,2,1] head=[2,2,0] CHANGED fail-lines=0 l10-danlong005-imoq-1 base=[8,8,1] head=[8,8,0] CHANGED fail-lines=0 l10-ossile-ossile-6 base=[13,3,11] head=[13,3,10] CHANGED fail-lines=10 activation-caller base=[1,1,1] head=[1,1,0] CHANGED fail-lines=0 capture-emit-diff: 11 cases, 4 changed, 10 with no failure line in the head emit == e. source agreement (agree) suspect base=1 head=1 conflict base=0 head=0 params_wrong base=0 head=0 decl_missing base=0 head=0 decl_extra base=0 head=0 type_unmarked base=2 head=2 == f. host round trips (both binaries) cases to round-trip: 10 l10-scout2/l10-arora23saurabh-ibm-bob-ibmi-benchmar/l10-arora23saurabh-ibm-bob-ibmi-benchmar-1 base=different head=match l10-scout2/l10-danlong005-imoq/l10-danlong005-imoq-1 base=different head=different l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-1 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-4 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-5 base=match head=match dev5/p3 base=match head=match dev5/p4 base=match head=match dev5/p5 base=match head=match activation-group-20261118/activation-caller base=different head=match activation-group-20261118/activation-new base=match head=match gate: PASS ```
Regenerate the operations legend
Some checks reported errors
binjovi/ci A newer source or plan superseded this Build
8531084ccb
sean force-pushed rpg-caller-activation-group from 8531084ccb
Some checks reported errors
binjovi/ci A newer source or plan superseded this Build
to 1f0fc2f61b
All checks were successful
binjovi/ci Binjovi completed the frozen plan
2026-11-18 18:10:18 +00:00
Compare
binjovi-bot manually merged commit 1f0fc2f61b into trunk 2026-11-18 18:26:10 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/sourcerer!816
No description provided.