Skip to content

Add explicit time limits for aslint, htmlcs, nuVal, and qualWeb#2

Open
wittjeff wants to merge 1 commit intojrpool:mainfrom
wittjeff:increase-aslint-timeout
Open

Add explicit time limits for aslint, htmlcs, nuVal, and qualWeb#2
wittjeff wants to merge 1 commit intojrpool:mainfrom
wittjeff:increase-aslint-timeout

Conversation

@wittjeff
Copy link

@wittjeff wittjeff commented Feb 5, 2026

Summary

  • Adds explicit time limits for tools that currently default to 15 seconds
  • Prevents premature timeouts on complex pages

Changes

Tool New Timeout Rationale
aslint 45s Runs many rules, needs time for complex DOMs
htmlcs 30s Similar complexity to ibm
nuVal 30s Makes external HTTP validation calls
qualWeb 45s Comprehensive ruleset

Problem

When scanning complex pages (e.g., https://pope.tech/), aslint consistently times out at 15 seconds while other tools with explicit time limits complete successfully. This results in 0 aslint instances being collected and an error message:

>>>> test aslint
ERROR: Timed out at 15 seconds

Backwards Compatibility

  • The TIMEOUT_MULTIPLIER environment variable still applies to these values
  • Users who relied on the 15-second default can set TIMEOUT_MULTIPLIER=0.33 to restore similar behavior

Testing

Tested against https://pope.tech/ - aslint now completes successfully and returns results.

🤖 Generated with Claude Code

These tools currently default to a 15-second timeout, which is insufficient
for complex pages. This change adds explicit time limits:

- aslint: 45 seconds (runs many rules, needs time for complex DOMs)
- htmlcs: 30 seconds (similar complexity to ibm)
- nuVal: 30 seconds (makes external HTTP validation calls)
- qualWeb: 45 seconds (comprehensive ruleset)

This was discovered when scanning https://pope.tech/, where aslint
consistently timed out at 15 seconds while other tools completed
successfully.

The TIMEOUT_MULTIPLIER environment variable still applies to these
values for further customization.
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

Comments