Repository navigation
WEB RECEIVE: accept the SRVCONVERT pass after a NOSRVCONVERT receive (Part of #6839, Row F) - #7007
Merged
Merged
Conversation
…(Part of #6839) ZECS001 1000-INITIALIZE issues a second WEB RECEIVE SET ... SRVCONVERT for text/* and application/xml media. The stub, CicsTask and the det translator refused any second receive. Narrow ASSUMED lane: SRVCONVERT after a NOSRVCONVERT receive returns the same body again; every other repeat stays refused. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6839 (Row F, siblings of #6072).
What
ZECS001 1000-INITIALIZE issues
WEB RECEIVE SET ... NOSRVCONVERT, then fortext/*/application/xmlmedia a secondWEB RECEIVE SET ... SRVCONVERT. The stub, CicsTask and the det translator refused any second receive (register X38, IBM silent).Narrow ASSUMED lane: a SRVCONVERT receive after a NOSRVCONVERT receive returns the same body and media type again (conversion changes nothing in the model); SET gets a new block each time. Every other repeat (conv-conv, raw-raw, neither-then-conv, raw-then-neither, a third receive) stays refused with the same name.
CicsTask.webReceive(max, cap, conv)(0 none, 1 SRVCONVERT, 2 NOSRVCONVERT); the 2-arg overload keeps conv 0;webReceivedis a tri-state.CONV/RAWbesideMEDIA; same tri-state.convtotask.webReceive.test_cics_runtimes.py(CicsTask vs stub, INTO and SET).Evidence
det_port.py run zecs-zecs001: 561/561 translated, PROVED (no regression; no scenario reaches 540:true yet, see Remaining slices).pr_gates --fast9/9,--ratchets9/9,audit_check.pyclear, tree-wide guard tests 265 passed, changed test files 961 passed / 3 skipped, time ratchet 0 over limit.Class / Sibling gaps
Class: a CICS command whose repeat within one task the model refuses without IBM saying so. Members fixed here: WEB RECEIVE INTO and SET (same mechanism). Sibling gaps, still refused (IBM silent): second WEB RECEIVE with any other option mix; WEB RECEIVE of a no-body request (X38); rows E, G, H of #6839 (separate mechanisms).
Remaining slices
tests/equivalence/zecs-zecs001/case.json: POST scenarios withtext/plainandapplication/xml(540:true), a text body cut at MAXLENGTH, regenerated det_sweep_coverage, thendet_port.py run zecs-zecs001.docs/language_status/register/X38.md: move "second WEB RECEIVE" from REFUSED to ASSUMED/narrow;gitgalaxy/standards/cics/commands/web.pyruntime_refusals wording.File cap
7 hand-written files vs the cap of 5: 4 core + the parity test, plus 2 pin updates (
test_det_translate.py,test_equivalence_cics.py) that this change itself broke (own-failure fixes). case.json and the docs were deferred to stay closer to the cap.File-cap exception: the new
convargument and GG-FLAGS tokens are one atomic protocol across CicsTask, translator, comparator and stub; the two pin tests only assert the changed emitted text and cannot be split from it without a red main.Cross-repo
No companion PR in another repo. Context: #7006 (Row E) and #6952; merges cleanly with origin/main (merge-tree CLEAN). No golden re-bless needed (gates pass).
🤖 Generated with Claude Code