Skip to content

Commit 5e74208

Browse files
committed
Add ML-powered query enablement info to analyze finish status report
1 parent 2c6b76b commit 5e74208

11 files changed

+37
-15
lines changed

lib/actions-util.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-env.test.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-env.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-input.test.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-input.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js

Lines changed: 11 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/actions-util.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,12 @@ export interface StatusReportBase {
576576
completed_at?: string;
577577
/** State this action is currently in. */
578578
status: ActionStatus;
579+
/**
580+
* Information about the enablement of the ML-powered JS query pack.
581+
*
582+
* @see {@link util.getMlPoweredJsQueriesStatus}
583+
*/
584+
ml_powered_javascript_queries?: string;
579585
/** Cause of the failure (or undefined if status is not failure). */
580586
cause?: string;
581587
/** Stack trace of the failure (or undefined if status is not failure). */

src/analyze-action-env.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ test("analyze action with RAM & threads from environment variables", async (t) =
3131
sinon.stub(configUtils, "getConfig").resolves({
3232
gitHubVersion: { type: util.GitHubVariant.DOTCOM },
3333
languages: [],
34+
packs: [],
3435
} as unknown as configUtils.Config);
3536
const requiredInputStub = sinon.stub(actionsUtil, "getRequiredInput");
3637
requiredInputStub.withArgs("token").returns("fake-token");

src/analyze-action-input.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ test("analyze action with RAM & threads from action inputs", async (t) => {
3131
sinon.stub(configUtils, "getConfig").resolves({
3232
gitHubVersion: { type: util.GitHubVariant.DOTCOM },
3333
languages: [],
34+
packs: [],
3435
} as unknown as configUtils.Config);
3536
const requiredInputStub = sinon.stub(actionsUtil, "getRequiredInput");
3637
requiredInputStub.withArgs("token").returns("fake-token");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy