From d62177ae19aca4dd093b88fd45800d922b2799d3 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 10:35:51 -0500 Subject: [PATCH 01/23] tester --- .github/workflows/ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84e73c0f21..0b1fd82f67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,3 +85,40 @@ jobs: push_rolling: true repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }} cache_file: "uv.lock" + + upload-overwatch: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Requirements + run: | + pip install -r requirements.txt + + - name: Install Overwatch CLI + run: | + curl -o cli https://overwatch.codecov.io/cli + chmod +x cli + + - name: Run Overwatch CLI + run: cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} python + + upload-overwatch: + runs-on: ubuntu-latest + steps: + - name: Install Static Analysis Tools + run: | + pip install mypy==1.15.0 + pip install ruff==0.3.3 + - name: Install Overwatch CLI + run: | + curl -o overwatch-cli https://overwatch.codecov.dev/linux/cli + chmod +x overwatch-cli + - name: Run Overwatch CLI + run: | + ./overwatch-cli \ + --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \ + --organization-slug codecov \ + python \ + --python-path $(which python3) \ No newline at end of file From 4b13343609032a5f8e81552c1645db34c769bc8d Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 10:37:55 -0500 Subject: [PATCH 02/23] asdf --- .github/workflows/ci.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b1fd82f67..e3f1331e31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,24 +86,6 @@ jobs: repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }} cache_file: "uv.lock" - upload-overwatch: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install Requirements - run: | - pip install -r requirements.txt - - - name: Install Overwatch CLI - run: | - curl -o cli https://overwatch.codecov.io/cli - chmod +x cli - - - name: Run Overwatch CLI - run: cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} python - upload-overwatch: runs-on: ubuntu-latest steps: From 4e68f46af24a43235c81d2e070fb2bd2234274fd Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 10:47:19 -0500 Subject: [PATCH 03/23] t2 --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3f1331e31..610956374b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,6 +101,4 @@ jobs: run: | ./overwatch-cli \ --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \ - --organization-slug codecov \ - python \ - --python-path $(which python3) \ No newline at end of file + --organization-slug codecov From 45d91c50ca84856843ddcb7479fdd344ca764051 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 10:49:05 -0500 Subject: [PATCH 04/23] t3 --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 610956374b..7441301576 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,6 +99,4 @@ jobs: chmod +x overwatch-cli - name: Run Overwatch CLI run: | - ./overwatch-cli \ - --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \ - --organization-slug codecov + ./overwatch-cli --help \ No newline at end of file From 21e5cc3ed2bfdf3e2c7f7cbdcce6b87b77f4983e Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 10:50:41 -0500 Subject: [PATCH 05/23] t4 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7441301576..ea3fc6f39e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,4 +99,4 @@ jobs: chmod +x overwatch-cli - name: Run Overwatch CLI run: | - ./overwatch-cli --help \ No newline at end of file + ./overwatch-cli \ No newline at end of file From ea20cebc80490e8c35dab733704e0e45a42d1d25 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 10:54:48 -0500 Subject: [PATCH 06/23] t5 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea3fc6f39e..1c2e27e075 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,6 +93,10 @@ jobs: run: | pip install mypy==1.15.0 pip install ruff==0.3.3 + - name: Install OpenSSL 1.1 + run: | + sudo apt-get update + sudo apt-get install -y libssl1.1 - name: Install Overwatch CLI run: | curl -o overwatch-cli https://overwatch.codecov.dev/linux/cli From 27cb2ed5975628fb1b0feef92a3eebe0805395ef Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 10:57:54 -0500 Subject: [PATCH 07/23] t6 --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c2e27e075..8dfb954f8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,9 @@ jobs: - name: Install OpenSSL 1.1 run: | sudo apt-get update - sudo apt-get install -y libssl1.1 + sudo apt-get install -y wget + wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.1/libssl1.1_1.1.1f-1ubuntu2_amd64.deb + sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb - name: Install Overwatch CLI run: | curl -o overwatch-cli https://overwatch.codecov.dev/linux/cli From 4f2da73fc439fc004ada6458845a9156d719fe9b Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 10:59:22 -0500 Subject: [PATCH 08/23] t7 --- .github/workflows/ci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8dfb954f8f..a1977d51f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,22 +87,19 @@ jobs: cache_file: "uv.lock" upload-overwatch: - runs-on: ubuntu-latest steps: - name: Install Static Analysis Tools run: | pip install mypy==1.15.0 pip install ruff==0.3.3 - - name: Install OpenSSL 1.1 - run: | - sudo apt-get update - sudo apt-get install -y wget - wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.1/libssl1.1_1.1.1f-1ubuntu2_amd64.deb - sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb - name: Install Overwatch CLI run: | curl -o overwatch-cli https://overwatch.codecov.dev/linux/cli chmod +x overwatch-cli - name: Run Overwatch CLI run: | - ./overwatch-cli \ No newline at end of file + ./overwatch-cli \ + --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \ + --organization-slug codecov \ + python \ + --python-path $(which python3) From 6d031fabb8471a204c79fb39abe263b63edb4432 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 11:32:09 -0500 Subject: [PATCH 09/23] t8 --- .github/workflows/ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1977d51f8..da7299b814 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,6 +87,7 @@ jobs: cache_file: "uv.lock" upload-overwatch: + runs-on: ubuntu-latest steps: - name: Install Static Analysis Tools run: | @@ -97,9 +98,4 @@ jobs: curl -o overwatch-cli https://overwatch.codecov.dev/linux/cli chmod +x overwatch-cli - name: Run Overwatch CLI - run: | - ./overwatch-cli \ - --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \ - --organization-slug codecov \ - python \ - --python-path $(which python3) + run: cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} python \ No newline at end of file From 490963a2684ff1068647c7aba7d5965859a64dd2 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 11:43:21 -0500 Subject: [PATCH 10/23] t9 --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da7299b814..5f3b9bf2bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,9 +93,23 @@ jobs: run: | pip install mypy==1.15.0 pip install ruff==0.3.3 + - name: Install Build Dependencies + run: | + sudo apt-get update + # Install libssl1.1 from Ubuntu 20.04 repositories + wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb + sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb - name: Install Overwatch CLI run: | curl -o overwatch-cli https://overwatch.codecov.dev/linux/cli chmod +x overwatch-cli + - name: Run Overwatch CLI + run: | + ./overwatch-cli \ + --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \ + --organization-slug codecov \ + python \ + --python-path $(which python3) + - name: Run Overwatch CLI run: cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} python \ No newline at end of file From 1a181c6a561685edcdd85cc0e875c30896ab4466 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 11:53:41 -0500 Subject: [PATCH 11/23] t10 --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f3b9bf2bc..4d6694ac0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,10 +106,7 @@ jobs: - name: Run Overwatch CLI run: | ./overwatch-cli \ - --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \ + --auth-token ${{ secrets.CODECOV_SENTRY_RELEASE_TOKEN }} \ --organization-slug codecov \ python \ --python-path $(which python3) - - - name: Run Overwatch CLI - run: cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} python \ No newline at end of file From 4d0914d3875d03bf8f3fb1282f49c2a44688b57e Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 12:02:18 -0500 Subject: [PATCH 12/23] t11 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d6694ac0e..1cdba0a140 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,6 +103,10 @@ jobs: run: | curl -o overwatch-cli https://overwatch.codecov.dev/linux/cli chmod +x overwatch-cli + - name: Print Current Working Directory + run: pwd + - name: List Contents of Current Working Directory + run: ls -la - name: Run Overwatch CLI run: | ./overwatch-cli \ From 17304df31f6dc0e237c1b02985c8b7038139579b Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 14:35:39 -0500 Subject: [PATCH 13/23] t12 --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cdba0a140..d036baf8c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,3 +114,18 @@ jobs: --organization-slug codecov \ python \ --python-path $(which python3) + + static-type-check: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ${{ inputs.working_directory }} + steps: + - uses: actions/checkout@v4 + with: + submodules: 'recursive' + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - run: pip install mypy==1.13.0 + - run: mypy . \ No newline at end of file From 747970c7521ba5f3d706838bacbcc23dae5e9c38 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 14:41:41 -0500 Subject: [PATCH 14/23] t13 --- .github/workflows/ci.yml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d036baf8c3..7cb99e2159 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,17 +115,23 @@ jobs: python \ --python-path $(which python3) - static-type-check: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ${{ inputs.working_directory }} - steps: - - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - run: pip install mypy==1.13.0 - - run: mypy . \ No newline at end of file + mypy: + name: Run Mypy + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.13' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install mypy==1.15.0 + # Add any other dependencies your project requires + + - name: Run Mypy + run: mypy /app/apps/codecov-api From fb04b48460a943ac3ed13ecebb327f9eecfa3b80 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 14:44:57 -0500 Subject: [PATCH 15/23] t14 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cb99e2159..f331dd12f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,6 +107,8 @@ jobs: run: pwd - name: List Contents of Current Working Directory run: ls -la + - name: List Directories Under Root + run: ls -d /*/ - name: Run Overwatch CLI run: | ./overwatch-cli \ From ff72ab5a900804651fe798e1cc955d23ec3594ec Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 14:47:42 -0500 Subject: [PATCH 16/23] t15 --- .github/workflows/ci.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f331dd12f0..66691259e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,6 +88,9 @@ jobs: upload-overwatch: runs-on: ubuntu-latest + defaults: + run: + working-directory: ${{ inputs.working_directory }} steps: - name: Install Static Analysis Tools run: | @@ -116,24 +119,3 @@ jobs: --organization-slug codecov \ python \ --python-path $(which python3) - - mypy: - name: Run Mypy - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.13' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install mypy==1.15.0 - # Add any other dependencies your project requires - - - name: Run Mypy - run: mypy /app/apps/codecov-api From 32d3f62eabe4397aae280be516b1dcf9a0d57aab Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 14:53:30 -0500 Subject: [PATCH 17/23] t16 --- .github/workflows/ci.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66691259e9..571c95f49a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,9 +88,6 @@ jobs: upload-overwatch: runs-on: ubuntu-latest - defaults: - run: - working-directory: ${{ inputs.working_directory }} steps: - name: Install Static Analysis Tools run: | @@ -119,3 +116,18 @@ jobs: --organization-slug codecov \ python \ --python-path $(which python3) + + patch-typing-check: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ${{ inputs.working_directory }} + steps: + - uses: actions/checkout@v4 + with: + submodules: 'recursive' + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - run: pip install mypy==1.13.0 + - run: mypy . --ignore-missing-imports ${{ inputs.extra_config }} From 7029250d875bac32ead0afd10551ddf4e15928a8 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 14:56:02 -0500 Subject: [PATCH 18/23] t17 --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 571c95f49a..b14d2e4624 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,9 +119,6 @@ jobs: patch-typing-check: runs-on: ubuntu-latest - defaults: - run: - working-directory: ${{ inputs.working_directory }} steps: - uses: actions/checkout@v4 with: @@ -130,4 +127,4 @@ jobs: with: python-version: "3.12" - run: pip install mypy==1.13.0 - - run: mypy . --ignore-missing-imports ${{ inputs.extra_config }} + - run: mypy . From 1b9a23b8b073f7abb6ba6d5ccb2395cb897f1396 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 14:58:37 -0500 Subject: [PATCH 19/23] t18 --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b14d2e4624..e5a0211cb7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,4 +127,10 @@ jobs: with: python-version: "3.12" - run: pip install mypy==1.13.0 + - name: Print Current Working Directory + run: pwd + - name: List Contents of Current Working Directory + run: ls -la + - name: List Directories Under Root + run: ls -d /*/ - run: mypy . From 8a47532e5033eafa9760a3bb5a0599efbe5b85e1 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 15:04:52 -0500 Subject: [PATCH 20/23] t19 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5a0211cb7..4e35fb05e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,6 +89,7 @@ jobs: upload-overwatch: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: Install Static Analysis Tools run: | pip install mypy==1.15.0 From 463b1c45847cc3454b150b128aa89d36fc85869d Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 15:24:28 -0500 Subject: [PATCH 21/23] t290 --- .github/workflows/ci.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e35fb05e3..99507af6b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,25 +113,7 @@ jobs: - name: Run Overwatch CLI run: | ./overwatch-cli \ - --auth-token ${{ secrets.CODECOV_SENTRY_RELEASE_TOKEN }} \ + --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \ --organization-slug codecov \ python \ --python-path $(which python3) - - patch-typing-check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - run: pip install mypy==1.13.0 - - name: Print Current Working Directory - run: pwd - - name: List Contents of Current Working Directory - run: ls -la - - name: List Directories Under Root - run: ls -d /*/ - - run: mypy . From 56057b9ba5b0724e29c380b0f92fba5cb4b2c0c9 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 16:08:53 -0500 Subject: [PATCH 22/23] t30 From 5638ae49c38288f498437d32297895a3e7e0e9c2 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Tue, 4 Mar 2025 16:11:29 -0500 Subject: [PATCH 23/23] t31 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99507af6b9..1b7e204bef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,7 +106,7 @@ jobs: chmod +x overwatch-cli - name: Print Current Working Directory run: pwd - - name: List Contents of Current Working Directory + - name: List Contents of Current Working Directory 2 run: ls -la - name: List Directories Under Root run: ls -d /*/