Add sanitization, validation, and basic tests for the `error_count` input parameter
@GretaP is already working on this.
Since Jun 13, 2023.
Assessment
This issue has not been assessed yet.
Description
Add sanitization, validation, and basic tests for the error_count input parameter.
Some possible rules:
- ensure it is a finite number
- ensure it is greater than
0 - [optional] ensure it is less than the finalized
timeoutinput parameter value (which may be adjusted toMAX_TIMEOUT, depending on the user's input) divided by the finalizedreporting_interval- That is optional as it's unlikely that every single status check will report a temporary recoverable error 🤷🏻
- Also, allowing the users to specify a number greater than that gives them the opportunity to allow as many errors as possible before timing out, which is OK if that's what they really want 🤷🏻
Similar to the a part of the changes made for timeout as shown in PR:
- #170
See also:
- #171
- Dominant language
- JavaScript
- Stars
- 953
- Forks
- 143
- Avg merge
- 35m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from actions/deploy-pages
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
actions/deploy-pages#435 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
actions/deploy-pages#434 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
actions/deploy-pages#418 · 19 comments · 12 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
actions/deploy-pages#416 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
actions/deploy-pages#413 · 14 reactions ·
All issues in actions/deploy-pages
Similar issues
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100