From c7ae39b72de203bbae0cea031728ed630f1dc293 Mon Sep 17 00:00:00 2001 From: Curtis Robert Date: Wed, 15 May 2024 08:34:47 -0700 Subject: [PATCH] [chore][Weekly Report] Remove duplicate information (#32934) **Description:** The weekly report is currently broken because it's trying to make requests with too large of a body. The section removed here is data the is already included in the previous sections of the report, just in less structured format, directly in JSON. I don't think this has a lot of value, so it can be removed for the sake of getting the rest of the data. This will remove the `JSON Data` section of previous [weekly reports](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32407). **Link to tracking Issue:** Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32655 **Testing:** I haven't been able to test this, but the weekly report is currently broken and is only run once a week, so I don't think this could break it worse. --- .github/workflows/scripts/generate-weekly-report.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/scripts/generate-weekly-report.js b/.github/workflows/scripts/generate-weekly-report.js index 7b870a4b740c..dc6aa58c3baf 100644 --- a/.github/workflows/scripts/generate-weekly-report.js +++ b/.github/workflows/scripts/generate-weekly-report.js @@ -240,19 +240,6 @@ function generateReport({ issuesData, previousReport, componentData }) { } out.push(''); - // add json data - out.push('\n ## JSON Data'); - out.push(''); - out.push(`
-Expand -
-{
-  "issuesData": ${JSON.stringify(issuesData, null, 2)},
-  "componentData": ${JSON.stringify(componentData, null, 2)}
-}
-
-
`); - const report = out.join('\n'); return report; }