sarutak commented on PR #59840:
URL: https://github.com/apache/spark/pull/59840#issuecomment-6734174203

   Thanks for the update. The timeout change looks good to me. Since the 
description becomes the commit message, could you address a few points in it 
when you get a chance?
   
   - "What changes" says the files are read sequentially with `readFileSync` in 
a `for...of` loop, but master already does that, so this sentence does not 
describe a change.
   - The `Promise.all` paragraph in "Why" and the "where the concurrent version 
failed with `EMFILE` at 4096" part of "How was this patch tested" describe an 
intermediate version of this PR that will not be in the final commit, so I 
think they can be dropped.
   - "the repository-wide glob and scan intermittently exceed 5s" is broader 
than what can trip the timeout. Each test's only `await` is the `glob(...)`. 
The file scan after it is synchronous, so Jest's timeout callback cannot run 
until the scan finishes, and by then the test's promise has already settled. A 
scratch test that busy-waits 7s after an `await` passes under a 5s timeout, 
while one that awaits a 7s timer fails. So only the glob can exceed the 5s 
limit, which also matches the `img-src` failure you cite. Could you say "the 
repository-wide glob" here?
   - The template asks for the phrase `Generated-by: ` followed by the tool 
name and version, i.e. `Generated-by: Claude Opus 4.8` instead of "Co-authored 
with Claude Opus 4.8".
   
   Also, the "Build" check on b9c18fa shows "Workflow run detection failed", so 
fork CI has not run on this head (the last green run was on the `Promise.all` 
version). Since ui-test only runs on fork CI, could you re-trigger it? A 
trailing space is also left on the `violations.map(v => ` line, while the diff 
strips the other two in this file.
   
   I'll approve once these are addressed and fork CI is green.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to