From cf03f29cedb72e9c33604b86c4f1d412156b3505 Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Wed, 18 Nov 2026 04:28:38 +0000 Subject: [PATCH] ci: remove Codecov Codecov has not received a coverage upload for main since 2025-08-04, although the upload step reported success on every run: the 2021 CODECOV_TOKEN no longer works and fail_ci_if_error is off. Remove the upload step, its config and the README badge, and the unused CODECOV_TOKEN in the linux-x64 job's environment, which exposed the token to every step of that job. --- .github/codecov.yml | 31 ------------------------------- .github/workflows/build.yaml | 5 ----- docs/README.md | 2 +- 3 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 .github/codecov.yml diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index c2e23821411d..000000000000 --- a/.github/codecov.yml +++ /dev/null @@ -1,31 +0,0 @@ -codecov: - require_ci_to_pass: yes - allow_coverage_offsets: True - -coverage: - precision: 2 - round: down - range: "40...70" - status: - patch: off - notify: - slack: - default: - url: secret:v1::tXC7VwEIKYjNU8HRgRv2GdKOSCt5UzpykKZb+o1eCDqBgb2PEqwE3A26QUPYMLo4BO2qtrJhFIvwhUvlPwyzDCNGoNiuZfXr0UeZZ0y1TcZu672R/NBNMwEPO/e1Ye0pHxjzKHnuH7HqbjFucox/RBQLtiL3J56SWGE3JtbkC6o= - threshold: 1% - only_pulls: false - branches: - - "main" - -parsers: - gcov: - branch_detection: - conditional: yes - loop: yes - method: no - macro: no - -comment: - layout: "reach,diff,flags,files,footer" - behavior: default - require_changes: no diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8ca26a8e6009..457ae12c818a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -149,16 +149,11 @@ jobs: test/package-lock.json - run: SKIP_SUBMODULE_DEPS=1 npm ci - run: npm run test:unit - - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 - if: success() - with: - token: ${{ secrets.CODECOV_TOKEN }} build: name: linux-x64 runs-on: ubuntu-22.04 env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} DISABLE_V8_COMPILE_CACHE: 1 VERSION: 0.0.0 VSCODE_ARCH: x64 diff --git a/docs/README.md b/docs/README.md index 2dd8a4059b1f..d5259849451c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ # code-server -[!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/coder/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://coder.com/community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) [![Discord](https://img.shields.io/discord/747933592273027093)](https://discord.com/invite/coder) [![codecov](https://codecov.io/gh/coder/code-server/branch/main/graph/badge.svg?token=5iM9farjnC)](https://codecov.io/gh/coder/code-server) [![See latest](https://img.shields.io/static/v1?label=Docs&message=see%20latest&color=blue)](https://coder.com/docs/code-server/latest) +[!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/coder/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://coder.com/community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) [![Discord](https://img.shields.io/discord/747933592273027093)](https://discord.com/invite/coder) [![See latest](https://img.shields.io/static/v1?label=Docs&message=see%20latest&color=blue)](https://coder.com/docs/code-server/latest) Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser.