-
Notifications
You must be signed in to change notification settings - Fork 368
Simplify activity_report logs download and restore issue generation from downloaded logs #27956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6d55cac
699b835
091674e
89313c7
9ebb673
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -394,26 +394,67 @@ jobs: | |||||
| ${{ runner.os }}-activity-report-logs-${{ github.repository }}- | ||||||
| ${{ runner.os }}-activity-report-logs- | ||||||
| `) | ||||||
| yaml.WriteString(` - name: Generate agentic workflow activity report | ||||||
| uses: ` + getCachedActionPinFromResolver("actions/github-script", resolver) + ` | ||||||
| yaml.WriteString(` - name: Download activity report logs | ||||||
| timeout-minutes: 20 | ||||||
|
||||||
| timeout-minutes: 20 | |
| timeout-minutes: 60 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -469,27 +469,73 @@ jobs: | |||||
| ${{ runner.os }}-activity-report-logs-` + repoSlug + `- | ||||||
| ${{ runner.os }}-activity-report-logs- | ||||||
| `) | ||||||
| yaml.WriteString(` - name: Generate agentic workflow activity report in target repository | ||||||
| uses: ` + getCachedActionPinFromResolver("actions/github-script", resolver) + ` | ||||||
| yaml.WriteString(` - name: Download activity report logs in target repository | ||||||
| timeout-minutes: 20 | ||||||
|
||||||
| timeout-minutes: 20 | |
| timeout-minutes: 120 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This step timeout (20 minutes) is lower than the script’s worst-case runtime:
run_activity_report.cjsruns two sequential log downloads with a default 20-minute timeout each, plus settle delays. The step can be terminated by Actions before the script’s own timeout/cleanup completes or before the second range runs. Consider increasing the step timeout above the script’s maximum expected duration, or reducing the per-download timeout so the step stays within 20 minutes end-to-end.