Harness: G6 ignores unknown standard superclass; dependency order for seed/reference; max_tokens 80k
- abaplint does not know CX_STATIC_CHECK: exception hierarchies failed G6 (G0022, G0005) - generator orders seed and reference objects by name references (G0022 attempt 1) - max_tokens from pilot distribution (accepted calls 4k-76k) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -344,7 +344,10 @@ class Runner:
|
||||
# Release gate only on contract objects. Helper objects (smoke runners, test classes)
|
||||
# can use standard APIs that abaplint does not know; A4H syntax check covers them.
|
||||
contract_files = {f"{c['name'].lower()}.{c['type'].lower()}.abap" for c in contract}
|
||||
# abaplint does not know standard superclasses (CX_STATIC_CHECK ...); an exception hierarchy
|
||||
# then gives "Super class ... not found or contains errors". A4H activation (G1) covers this.
|
||||
g["G6_release"] = not any(i["rule"] == "check_syntax" and i["file"] in contract_files
|
||||
and not re.match(r"Super class .* not found or contains errors", i["msg"] or "")
|
||||
for i in issues)
|
||||
|
||||
# 8 score
|
||||
|
||||
Reference in New Issue
Block a user