We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The produce_summaries Cloud Run only produces summaries for the previous day
build/ansible/roles/metrics/files/summaries/summaries.js
Lines 96 to 97 in c5c15aa
The summaries aren't being produced since 20240502, originally reported in #3697, and an investigation is happening in #3771 to increase request time.
Even if the issue with produce_summaries is fixed, we have to backfill summaries for dates which were missed.
produce_summaries
Process date parameter in from request params, as pass it to subsequent functions
date
app.post('/', async (req, res) => { await produceSummaries(req.params.date) res.status(200).send() })
This will allow maintainer to request producing summaries for specific dates, like
curl -X POST "https://produce-summaries-kdtacnjogq-uc.a.run.app/?date=20240502" -H "Authorization: Bearer $(gcloud auth print-identity-token)"
The text was updated successfully, but these errors were encountered:
Looks like there's an issue with how we processed the GET parameter in express
Source code
curl -X POST "https://produce-summaries-kdtacnjogq-uc.a.run.app/?date=20240401" -H "Authorization: Bearer $(gcloud auth print-identity-token)"
Output
2024-07-02 05:22:40.568 PDT POST 200 116 B 597.6 s curl/8.1.2 https://produce-summaries-kdtacnjogq-uc.a.run.app/?date=20240401 2024-07-02 05:22:40.606 PDT 20240701/ 2024-07-02 05:32:38.270 PDT Upload complete: nodejs.org-access.log.20240701.json
Sorry, something went wrong.
I cannot reopen this closed issue, so created a bug report at #3799
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
The produce_summaries Cloud Run only produces summaries for the previous day
build/ansible/roles/metrics/files/summaries/summaries.js
Lines 96 to 97 in c5c15aa
The summaries aren't being produced since 20240502, originally reported in #3697, and an investigation is happening in #3771 to increase request time.
Even if the issue with
produce_summaries
is fixed, we have to backfill summaries for dates which were missed.Describe the solution you'd like
Process
date
parameter in from request params, as pass it to subsequent functionsThis will allow maintainer to request producing summaries for specific dates, like
curl -X POST "https://produce-summaries-kdtacnjogq-uc.a.run.app/?date=20240502" -H "Authorization: Bearer $(gcloud auth print-identity-token)"
The text was updated successfully, but these errors were encountered: