Repository navigation
Complete missing package API specifications - #75180
Conversation
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
There was a problem hiding this comment.
🟡 Changes recommended
The README clarification still inaccurately implies that every listed method belongs to standard-library values, so it should be revised to reflect the analyzer’s broader interface-based matching.
1 open issue
What changed in this PR
This documentation-only pull request completes package API specifications by adding source-verified entries for 68 previously undocumented exported functions and clarifying references to external or analyzed APIs.
Changes:
- Documents missing APIs across workqueue, workflow, parser, console, CLI, actionpins, constants, context, error, and file utilities.
- Clarifies that
SetEscapeHTMLbelongs tojson.Encoder. - Clarifies that method names in linter descriptions refer to analyzed code rather than
linterspackage exports.
| File | Description |
|---|---|
pkg/workqueue/README.md |
Documents workqueue construction, replay, inspection, policy, authorization, and lifecycle APIs. |
pkg/workflow/README.md |
Documents webhook, workqueue, compiler, permission, and GitHub App APIs. |
pkg/parser/README.md |
Documents action-pin, sub-agent, and MCP certificate helpers. |
pkg/linters/README.md |
Clarifies that referenced methods belong to analyzed code, not the package API. |
pkg/jsonutil/README.md |
Identifies SetEscapeHTML as a json.Encoder method. |
pkg/fileutil/README.md |
Documents safe file reading within a base directory. |
pkg/errorutil/README.md |
Documents output-based not-found classification. |
pkg/ctxutil/README.md |
Documents operation reporter context helpers. |
pkg/constants/README.md |
Documents compiler-owned job and engine-step naming helpers. |
pkg/console/README.md |
Documents stdout formatting helpers. |
pkg/cli/README.md |
Documents development compilation, command construction, Docker, and episode retrieval APIs. |
pkg/actionpins/README.md |
Documents GHES resolution and resolved action-prefix mapping helpers. |
This pull request is ready to be approved.
Review effort: Lite (auto)
|
|
||
| This package currently provides custom Go analyzers in the following subpackages: | ||
|
|
||
| The method names mentioned in analyzer descriptions (such as `Err`, `Flush`, `Reset`, `Timeout`, and `Unlock`) are methods on the standard-library values being analyzed, not exports from the `linters` package. |
|
🎉 This pull request is included in a new release. Release: |

The package audit found undocumented exported functions and ambiguous method references in package specifications. This update adds source-verified API entries and clarifies which referenced methods belong to external APIs.
workqueue,workflow,console,cli,parser,actionpins,constants,ctxutil,errorutil, andfileutil.SetEscapeHTMLas ajson.Encodermethod and clarify that the method names inlintersdescriptions refer to analyzed code, not package exports.workflowcontractalready documents its test-only role.