Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Validate inputs only for repo action, no warning for small delay.#476

Merged
TingluoHuang merged 2 commits into
masterfrom
users/tihuang/throttling
May 12, 2020
Merged

Validate inputs only for repo action, no warning for small delay.#476
TingluoHuang merged 2 commits into
masterfrom
users/tihuang/throttling

Conversation

@TingluoHuang

Copy link
Copy Markdown
Member


foreach (var input in userInputs)
// Validate inputs only for actions with action.yml
if (Action.Reference.Type == Pipelines.ActionSourceType.Repository)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The real diff is:

if (Action.Reference.Type == Pipelines.ActionSourceType.Repository)
{
   existing code
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the current cause unwanted warning for run step.
ex: https://github.com/actions/canary/actions/runs/102763474
image

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, basically anyhting with action.yml

@TingluoHuang TingluoHuang requested a review from ericsciple May 12, 2020 19:40

// report total delay caused by server throttling.
if (_totalThrottlingDelayInMilliseconds > 0)
if (_totalThrottlingDelayInMilliseconds > _throttlingDelayReportThreshold)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed offline, this is related to log lines and timeline record updates. Not general perf tarpitting.

Upload artifact, etc would be reported as 429 during that experience (depends on whether they log).

@TingluoHuang TingluoHuang merged commit cd8e4dd into master May 12, 2020
@TingluoHuang TingluoHuang deleted the users/tihuang/throttling branch May 12, 2020 20:09
TingluoHuang added a commit that referenced this pull request May 12, 2020
* validate inputs only for repo action, no warning for small delay.

* l0
@TingluoHuang

Copy link
Copy Markdown
Member Author

#477

AdamOlech pushed a commit to antmicro/runner that referenced this pull request Jan 28, 2021
…tions#476)

* validate inputs only for repo action, no warning for small delay.

* l0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants