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

@orf orf force-pushed the add-notice-output branch from b4615f0 to 053509a Compare May 12, 2024 12:05
.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 orf force-pushed the add-notice-output branch from 190c46c to d947000 Compare May 12, 2024 19:19
@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 orf force-pushed the add-notice-output branch from f5ba1df to 83647c9 Compare May 12, 2024 19:50
@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

@orf orf force-pushed the add-notice-output branch from ce1cf84 to 86430ee Compare May 12, 2024 19:59
@orf orf force-pushed the add-notice-output branch from 86430ee to 2f1ba39 Compare May 12, 2024 20:00
@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://github.com/crate-ci/typos) | action | patch
| `v1.22.7` -> `v1.22.9` |
|
[mozilla-actions/sccache-action](https://github.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://github.com/crate-ci/typos/releases/tag/v1.22.9)

[Compare
Source](https://github.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://github.com/crate-ci/typos/compare/v1.22.7...v1.22.8)

[Compare
Source](https://github.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://github.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.5)

[Compare
Source](https://github.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://github.com/altendky) in
[https://github.com/Mozilla-Actions/sccache-action/pull/103](https://github.com/Mozilla-Actions/sccache-action/pull/103)
- chore: fix a typo in a comment by
[@&#8203;Alphare](https://github.com/Alphare) in
[https://github.com/Mozilla-Actions/sccache-action/pull/109](https://github.com/Mozilla-Actions/sccache-action/pull/109)
- Bump outdated CI workflows and packages by
[@&#8203;orf](https://github.com/orf) in
[https://github.com/Mozilla-Actions/sccache-action/pull/114](https://github.com/Mozilla-Actions/sccache-action/pull/114)
- Output sccache stats as a notice and a summary table by
[@&#8203;orf](https://github.com/orf) in
[https://github.com/Mozilla-Actions/sccache-action/pull/113](https://github.com/Mozilla-Actions/sccache-action/pull/113)

##### Dependencies

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

##### New Contributors

- [@&#8203;altendky](https://github.com/altendky) made their first
contribution in
[https://github.com/Mozilla-Actions/sccache-action/pull/103](https://github.com/Mozilla-Actions/sccache-action/pull/103)
- [@&#8203;Alphare](https://github.com/Alphare) made their first
contribution in
[https://github.com/Mozilla-Actions/sccache-action/pull/109](https://github.com/Mozilla-Actions/sccache-action/pull/109)
- [@&#8203;orf](https://github.com/orf) made their first contribution
in
[https://github.com/Mozilla-Actions/sccache-action/pull/114](https://github.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://github.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://github.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://github.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.5)

[Compare Source](https://github.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://github.com/altendky) in [https://github.com/Mozilla-Actions/sccache-action/pull/103](https://github.com/Mozilla-Actions/sccache-action/pull/103)
-   chore: fix a typo in a comment by [@&#8203;Alphare](https://github.com/Alphare) in [https://github.com/Mozilla-Actions/sccache-action/pull/109](https://github.com/Mozilla-Actions/sccache-action/pull/109)
-   Bump outdated CI workflows and packages by [@&#8203;orf](https://github.com/orf) in [https://github.com/Mozilla-Actions/sccache-action/pull/114](https://github.com/Mozilla-Actions/sccache-action/pull/114)
-   Output sccache stats as a notice and a summary table by [@&#8203;orf](https://github.com/orf) in [https://github.com/Mozilla-Actions/sccache-action/pull/113](https://github.com/Mozilla-Actions/sccache-action/pull/113)

##### Dependencies

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

##### New Contributors

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