You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: address audit-skill failure modes surfaced by PR apache#4461
The string-expressions audit (PR apache#4461) revealed six recurring
failure modes where the skill documented findings rather than acting
on them. Strengthen the consistency checklist and auto-fix list to
close these loopholes:
- Add checklist item 10: expression-shape restrictions (literal-only
argument, child data type, etc.) must be declared in
`getSupportLevel`, not gated inside `convert` with `withInfo`. Cite
`CometLeft` / `CometRight` / `CometSubstring` as the canonical
example.
- Add checklist item 11: Spark 4.0+ collation routing through
`CollationSupport.X.exec` and `StringTypeWithCollation` means the
expression is `Incompatible` for non-default collations. Link
apache#4496 as the umbrella issue and reject "behaviour unchanged for
`UTF8_BINARY`" as a justification for `Compatible`.
- Add checklist item 12: a sub-bullet that says "Known divergence" or
"Known limitation" on a `Compatible` branch is a smell. The skill
must promote the support level rather than documenting the
divergence in prose only. Cite the `replace` empty-search-string
case.
- Add checklist item 13: unreachable serde registrations (e.g. the
`btrim` mapping for `StringTrimBoth`, which is rewritten by
`RuntimeReplaceable` before serde runs) must be deleted, not
catalogued.
- Add an issue-verification step to the reason-wording guidance and
the follow-up-issue workflow. Every cited issue must be opened
with `gh issue view` to confirm it exists, is open, and matches
the divergence before the URL ships in a reason string or
support-doc sub-bullet.
Add the matching auto-fix patterns to Step 7's "apply fixes
automatically" list so future audits resolve these inline rather than
filing them as prose follow-ups.
0 commit comments