-
Notifications
You must be signed in to change notification settings - Fork 366
Fix JSDoc return type for upload artifact handler #25929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -445,7 +445,7 @@ async function main(config = {}) { | |||||
| * @param {Object} message - The upload_artifact message from the model | ||||||
| * @param {Object} resolvedTemporaryIds - Map of already-resolved temporary IDs (unused here) | ||||||
| * @param {Map<string, any>} temporaryIdMap - Shared temp-ID map; the handler does not modify it | ||||||
| * @returns {Promise<{success: boolean, error?: string, skipped?: boolean, tmpId?: string, artifactName?: string, slotIndex?: number}>} | ||||||
| * @returns {Promise<{success: boolean, error?: string, skipped?: boolean, tmpId?: string, artifactName?: string, artifactId?: number, artifactUrl?: string, slotIndex?: number}>} | ||||||
|
||||||
| * @returns {Promise<{success: boolean, error?: string, skipped?: boolean, tmpId?: string, artifactName?: string, artifactId?: number, artifactUrl?: string, slotIndex?: number}>} | |
| * @returns {Promise<{success: boolean, error?: string, skipped?: boolean, tmpId?: string, artifactName?: string, artifactId?: number, artifactUrl: string, slotIndex?: number}>} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is described as a JSDoc return-type fix, but it also changes the runner label for
validate_workflowsfromubuntu-slimtoubuntu-latest. The rest of this workflow (and many others in the repo) consistently useubuntu-slim, so this looks like an unrelated change that could alter the execution environment and permissions assumptions. Please either revert this change or justify it in the PR description (or split into a separate PR) and ensureubuntu-latestis intended here.