Skip to content
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

Output sccache stats as a notice and a summary table #113

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

orf
Copy link
Contributor

@orf orf commented May 12, 2024

Checking the effectiveness of sccache when using this action is a bit annoying: the post action is minimized, and you need to go into each individual job.

This PR adds high-level cache hits/misses/errors as a notice (available at the top of the job summary), and a more detailed table as a job summary.

Screenshot 2024-05-12 at 12 59 18

Screenshot 2024-05-12 at 13 00 16

.github/workflows/CI.yml Outdated Show resolved Hide resolved
@sylvestre
Copy link
Collaborator

Great idea btw

@orf
Copy link
Contributor Author

orf commented May 12, 2024

Thanks! I’ve integrated the branch with the project I was working on, you can see some builds with more realistic numbers there: https://github.com/orf/pyvector

It all seems to work pretty well.

@sylvestre
Copy link
Collaborator

could you please rebase it? thanks

@sylvestre
Copy link
Collaborator

also, where can I see it on pyvector ?

@orf
Copy link
Contributor Author

orf commented May 12, 2024

Rebased! You can see it in the actions tab. For example: https://github.com/orf/pyvector/actions/runs/9051168104

@sylvestre
Copy link
Collaborator

nice :)
Maybe add % too ?
(should not be too hard math ;)

@orf
Copy link
Contributor Author

orf commented May 12, 2024

Good idea, done! I’ve triggered a build here to see what it looks like: https://github.com/orf/pyvector/actions/runs/9053826212

I don’t have much more time to work on this though, so lemme know if there is anything else you think I should change or add

@sylvestre
Copy link
Collaborator

Just one request: Could you please add a the % again ? (in the right column)
thanks
image

@orf
Copy link
Contributor Author

orf commented May 12, 2024

Done!

@sylvestre
Copy link
Collaborator

sorry, i forgot to merge it :)

@sylvestre sylvestre merged commit aece89f into Mozilla-Actions:main Jun 17, 2024
7 checks passed
renovate bot referenced this pull request in oxc-project/oxc Jun 23, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.22.7` -> `v1.22.9` |
|
[mozilla-actions/sccache-action](https://togithub.com/mozilla-actions/sccache-action)
| action | patch | `v0.0.4` -> `v0.0.5` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.22.9`](https://togithub.com/crate-ci/typos/releases/tag/v1.22.9)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.8...v1.22.9)

#### \[1.22.9] - 2024-06-22

##### Fixes

-   Stop correcting `reoccurrence`

###
[`v1.22.8`](https://togithub.com/crate-ci/typos/compare/v1.22.7...v1.22.8)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.7...v1.22.8)

</details>

<details>
<summary>mozilla-actions/sccache-action
(mozilla-actions/sccache-action)</summary>

###
[`v0.0.5`](https://togithub.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.5)

[Compare
Source](https://togithub.com/mozilla-actions/sccache-action/compare/v0.0.4...v0.0.5)

##### What's Changed

- add missing quotes to `configure` example in readme by
[@&#8203;altendky](https://togithub.com/altendky) in
[https://github.com/Mozilla-Actions/sccache-action/pull/103](https://togithub.com/Mozilla-Actions/sccache-action/pull/103)
- chore: fix a typo in a comment by
[@&#8203;Alphare](https://togithub.com/Alphare) in
[https://github.com/Mozilla-Actions/sccache-action/pull/109](https://togithub.com/Mozilla-Actions/sccache-action/pull/109)
- Bump outdated CI workflows and packages by
[@&#8203;orf](https://togithub.com/orf) in
[https://github.com/Mozilla-Actions/sccache-action/pull/114](https://togithub.com/Mozilla-Actions/sccache-action/pull/114)
- Output sccache stats as a notice and a summary table by
[@&#8203;orf](https://togithub.com/orf) in
[https://github.com/Mozilla-Actions/sccache-action/pull/113](https://togithub.com/Mozilla-Actions/sccache-action/pull/113)

##### Dependencies

- Bump [@&#8203;types/node](https://togithub.com/types/node) from
20.12.11 to 20.13.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/115](https://togithub.com/Mozilla-Actions/sccache-action/pull/115)
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 7.8.0 to 7.11.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/117](https://togithub.com/Mozilla-Actions/sccache-action/pull/117)
- Bump braces from 3.0.2 to 3.0.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/120](https://togithub.com/Mozilla-Actions/sccache-action/pull/120)
- Bump ts-jest from 29.1.2 to 29.1.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/118](https://togithub.com/Mozilla-Actions/sccache-action/pull/118)
- Bump prettier from 3.2.5 to 3.3.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/121](https://togithub.com/Mozilla-Actions/sccache-action/pull/121)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.10.0 to 1.10.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/95](https://togithub.com/Mozilla-Actions/sccache-action/pull/95)
- Bump eslint-config-prettier from 9.0.0 to 9.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/96](https://togithub.com/Mozilla-Actions/sccache-action/pull/96)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.1.1 to 6.0.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/97](https://togithub.com/Mozilla-Actions/sccache-action/pull/97)
- Bump [@&#8203;types/node](https://togithub.com/types/node) from
20.10.6 to 20.11.24 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/102](https://togithub.com/Mozilla-Actions/sccache-action/pull/102)
- Bump eslint-plugin-jest from 27.6.0 to 27.9.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/101](https://togithub.com/Mozilla-Actions/sccache-action/pull/101)
- Bump undici from 5.28.2 to 5.28.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/99](https://togithub.com/Mozilla-Actions/sccache-action/pull/99)

##### New Contributors

- [@&#8203;altendky](https://togithub.com/altendky) made their first
contribution in
[https://github.com/Mozilla-Actions/sccache-action/pull/103](https://togithub.com/Mozilla-Actions/sccache-action/pull/103)
- [@&#8203;Alphare](https://togithub.com/Alphare) made their first
contribution in
[https://github.com/Mozilla-Actions/sccache-action/pull/109](https://togithub.com/Mozilla-Actions/sccache-action/pull/109)
- [@&#8203;orf](https://togithub.com/orf) made their first contribution
in
[https://github.com/Mozilla-Actions/sccache-action/pull/114](https://togithub.com/Mozilla-Actions/sccache-action/pull/114)

**Full Changelog**:
Mozilla-Actions/sccache-action@v0.0.4...v0.0.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
convex-copybara bot referenced this pull request in get-convex/convex-backend Aug 21, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [mozilla-actions/sccache-action](https://togithub.com/mozilla-actions/sccache-action) | action | patch | `v0.0.4` -> `v0.0.5` |

---

### Release Notes

<details>
<summary>mozilla-actions/sccache-action (mozilla-actions/sccache-action)</summary>

### [`v0.0.5`](https://togithub.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.5)

[Compare Source](https://togithub.com/mozilla-actions/sccache-action/compare/v0.0.4...v0.0.5)

##### What's Changed

-   add missing quotes to `configure` example in readme by [@&#8203;altendky](https://togithub.com/altendky) in [https://github.com/Mozilla-Actions/sccache-action/pull/103](https://togithub.com/Mozilla-Actions/sccache-action/pull/103)
-   chore: fix a typo in a comment by [@&#8203;Alphare](https://togithub.com/Alphare) in [https://github.com/Mozilla-Actions/sccache-action/pull/109](https://togithub.com/Mozilla-Actions/sccache-action/pull/109)
-   Bump outdated CI workflows and packages by [@&#8203;orf](https://togithub.com/orf) in [https://github.com/Mozilla-Actions/sccache-action/pull/114](https://togithub.com/Mozilla-Actions/sccache-action/pull/114)
-   Output sccache stats as a notice and a summary table by [@&#8203;orf](https://togithub.com/orf) in [https://github.com/Mozilla-Actions/sccache-action/pull/113](https://togithub.com/Mozilla-Actions/sccache-action/pull/113)

##### Dependencies

-   Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.12.11 to 20.13.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/115](https://togithub.com/Mozilla-Actions/sccache-action/pull/115)
-   Bump [@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 7.8.0 to 7.11.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/117](https://togithub.com/Mozilla-Actions/sccache-action/pull/117)
-   Bump braces from 3.0.2 to 3.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/120](https://togithub.com/Mozilla-Actions/sccache-action/pull/120)
-   Bump ts-jest from 29.1.2 to 29.1.4 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/118](https://togithub.com/Mozilla-Actions/sccache-action/pull/118)
-   Bump prettier from 3.2.5 to 3.3.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/121](https://togithub.com/Mozilla-Actions/sccache-action/pull/121)
-   Bump [@&#8203;actions/core](https://togithub.com/actions/core) from 1.10.0 to 1.10.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/95](https://togithub.com/Mozilla-Actions/sccache-action/pull/95)
-   Bump eslint-config-prettier from 9.0.0 to 9.1.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/96](https://togithub.com/Mozilla-Actions/sccache-action/pull/96)
-   Bump [@&#8203;actions/github](https://togithub.com/actions/github) from 5.1.1 to 6.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/97](https://togithub.com/Mozilla-Actions/sccache-action/pull/97)
-   Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.10.6 to 20.11.24 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/102](https://togithub.com/Mozilla-Actions/sccache-action/pull/102)
-   Bump eslint-plugin-jest from 27.6.0 to 27.9.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/101](https://togithub.com/Mozilla-Actions/sccache-action/pull/101)
-   Bump undici from 5.28.2 to 5.28.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/Mozilla-Actions/sccache-action/pull/99](https://togithub.com/Mozilla-Actions/sccache-action/pull/99)

##### New Contributors

-   [@&#8203;altendky](https://togithub.com/altendky) made their first contribution in [https://github.com/Mozilla-Actions/sccache-action/pull/103](https://togithub.com/Mozilla-Actions/sccache-action/pull/103)
-   [@&#8203;Alphare](https://togithub.com/Alphare) made their first contribution in [https://github.com/Mozilla-Actions/sccache-action/pull/109](https://togithub.com/Mozilla-Actions/sccache-action/pull/109)
-   [@&#8203;orf](https://togithub.com/orf) made their first contribution in [https://github.com/Mozilla-Actions/sccache-action/pull/114](https://togithub.com/Mozilla-Actions/sccache-action/pull/114)

**Full Changelog**: Mozilla-Actions/sccache-action@v0.0.4...v0.0.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/get-convex/convex).

GitOrigin-RevId: 7bc50947bf6843a84c3382f0464f6bb92f1ef163
jschwe added a commit to jschwe/servo that referenced this pull request Sep 27, 2024
Interesting changes since v0.0.4

- fix: avoid downloading package when local cache exists in Mozilla-Actions/sccache-action#123
- Output sccache stats as a notice and a summary table in Mozilla-Actions/sccache-action#113

v0.0.6 changelog: https://github.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.6

v0.0.5 changelog: https://github.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.5

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
github-merge-queue bot pushed a commit to servo/servo that referenced this pull request Sep 27, 2024
Interesting changes since v0.0.4

- fix: avoid downloading package when local cache exists in Mozilla-Actions/sccache-action#123
- Output sccache stats as a notice and a summary table in Mozilla-Actions/sccache-action#113

v0.0.6 changelog: https://github.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.6

v0.0.5 changelog: https://github.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.5

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants