Skip to content

H-4830: Set up autofix.yml in CI#7459

Closed
vilkinsons wants to merge 1 commit intomainfrom
d/autofix-ci
Closed

H-4830: Set up autofix.yml in CI#7459
vilkinsons wants to merge 1 commit intomainfrom
d/autofix-ci

Conversation

@vilkinsons
Copy link
Copy Markdown
Member

@vilkinsons vilkinsons commented Jun 20, 2025

See the docs; step 1 (installing the GitHub App) has already been completed.

🚫 Blocked by

  • Add TypeScript/JS formatting
  • Add Rust formatting
  • Add Python formatting
  • Optional: Add webp autoconverter (similar to PNG compression example given in the docs)
  • Optional: Make formatting execution intelligent based on changed files in a PR?

See [the docs](https://autofix.ci/setup?setup_action=install); step 1 (installing the GitHub App) has already been completed.
@vilkinsons vilkinsons self-assigned this Jun 20, 2025
@github-actions github-actions bot added the area/infra Relates to version control, CI, CD or IaC (area) label Jun 20, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.26%. Comparing base (a76ee6a) to head (614e830).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7459      +/-   ##
==========================================
+ Coverage   52.11%   52.26%   +0.14%     
==========================================
  Files        1084     1085       +1     
  Lines       96024    96408     +384     
  Branches     4434     4448      +14     
==========================================
+ Hits        50043    50383     +340     
- Misses      45034    45075      +41     
- Partials      947      950       +3     
Flag Coverage Δ
apps.hash-ai-worker-ts 1.32% <ø> (+<0.01%) ⬆️
apps.hash-api 0.00% <ø> (ø)
blockprotocol.type-system 35.85% <ø> (ø)
local.harpc-client 50.93% <ø> (ø)
local.hash-backend-utils 3.68% <ø> (ø)
local.hash-graph-sdk 0.00% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.antsi 0.00% <ø> (ø)
rust.deer 74.75% <ø> (ø)
rust.error-stack 89.07% <ø> (ø)
rust.harpc-codec 84.97% <ø> (ø)
rust.harpc-net 95.84% <ø> (ø)
rust.harpc-tower 66.34% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 91.62% <ø> (ø)
rust.hash-codec 75.38% <ø> (ø)
rust.hash-graph-api 3.43% <ø> (ø)
rust.hash-graph-authorization 27.57% <ø> (+0.30%) ⬆️
rust.hash-graph-postgres-store 19.45% <ø> (-0.05%) ⬇️
rust.hash-graph-store 27.52% <ø> (-0.40%) ⬇️
rust.hash-graph-temporal-versioning 48.22% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 83.30% <ø> (ø)
rust.hashql-ast 86.12% <ø> (+0.36%) ⬆️
rust.hashql-compiletest 51.52% <ø> (ø)
rust.hashql-core 82.21% <ø> (+<0.01%) ⬆️
rust.hashql-diagnostics 50.24% <ø> (ø)
rust.hashql-hir 84.31% <ø> (+4.35%) ⬆️
rust.hashql-syntax-jexpr 94.10% <ø> (ø)
rust.sarif 97.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Copy Markdown
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$8.18 \mathrm{ms} \pm 44.7 \mathrm{μs}\left({\color{gray}0.848 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$8.19 \mathrm{ms} \pm 25.1 \mathrm{μs}\left({\color{gray}0.574 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$15.7 \mathrm{ms} \pm 112 \mathrm{μs}\left({\color{gray}0.793 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$8.68 \mathrm{ms} \pm 55.1 \mathrm{μs}\left({\color{gray}2.21 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$9.00 \mathrm{ms} \pm 48.2 \mathrm{μs}\left({\color{gray}-2.402 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: bf5a9ef5-dc3b-43cf-a291-6210c0321eba $$8.31 \mathrm{ms} \pm 35.9 \mathrm{μs}\left({\color{gray}1.10 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$60.3 \mathrm{ms} \pm 442 \mathrm{μs}\left({\color{gray}-0.459 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$55.3 \mathrm{ms} \pm 326 \mathrm{μs}\left({\color{gray}1.96 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$49.3 \mathrm{ms} \pm 262 \mathrm{μs}\left({\color{gray}1.59 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$45.3 \mathrm{ms} \pm 165 \mathrm{μs}\left({\color{gray}2.86 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$73.0 \mathrm{ms} \pm 475 \mathrm{μs}\left({\color{gray}1.92 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$63.7 \mathrm{ms} \pm 412 \mathrm{μs}\left({\color{gray}0.891 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$92.8 \mathrm{ms} \pm 511 \mathrm{μs}\left({\color{gray}-4.193 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$88.5 \mathrm{ms} \pm 575 \mathrm{μs}\left({\color{gray}0.864 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$81.8 \mathrm{ms} \pm 675 \mathrm{μs}\left({\color{gray}2.65 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$44.1 \mathrm{ms} \pm 373 \mathrm{μs}\left({\color{gray}1.27 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$108 \mathrm{ms} \pm 1.06 \mathrm{ms}\left({\color{lightgreen}-13.831 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$96.7 \mathrm{ms} \pm 742 \mathrm{μs}\left({\color{gray}-2.997 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$5.43 \mathrm{s} \pm 542 \mathrm{ms}\left({\color{red}1876 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$27.4 \mathrm{ms} \pm 217 \mathrm{μs}\left({\color{gray}-2.496 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$63.8 \mathrm{ms} \pm 328 \mathrm{μs}\left({\color{gray}-0.706 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$33.4 \mathrm{ms} \pm 115 \mathrm{μs}\left({\color{gray}-1.959 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$187 \mathrm{ms} \pm 537 \mathrm{μs}\left({\color{gray}-0.483 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$10.1 \mathrm{ms} \pm 37.9 \mathrm{μs}\left({\color{lightgreen}-9.508 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$8.10 \mathrm{ms} \pm 67.6 \mathrm{μs}\left({\color{gray}0.577 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$8.38 \mathrm{ms} \pm 31.9 \mathrm{μs}\left({\color{gray}1.20 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$8.16 \mathrm{ms} \pm 52.4 \mathrm{μs}\left({\color{gray}-2.583 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$9.36 \mathrm{ms} \pm 91.7 \mathrm{μs}\left({\color{gray}0.552 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$23.2 \mathrm{ms} \pm 259 \mathrm{μs}\left({\color{gray}3.65 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$23.8 \mathrm{ms} \pm 291 \mathrm{μs}\left({\color{lightgreen}-25.585 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$23.2 \mathrm{ms} \pm 219 \mathrm{μs}\left({\color{gray}3.36 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$25.2 \mathrm{ms} \pm 348 \mathrm{μs}\left({\color{lightgreen}-13.705 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$23.5 \mathrm{ms} \pm 213 \mathrm{μs}\left({\color{gray}-0.022 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$23.2 \mathrm{ms} \pm 223 \mathrm{μs}\left({\color{gray}-1.132 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$22.8 \mathrm{ms} \pm 212 \mathrm{μs}\left({\color{gray}-1.855 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$23.2 \mathrm{ms} \pm 224 \mathrm{μs}\left({\color{lightgreen}-14.121 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$22.6 \mathrm{ms} \pm 201 \mathrm{μs}\left({\color{gray}0.276 \mathrm{\%}}\right) $$ Flame Graph

@vilkinsons
Copy link
Copy Markdown
Member Author

vilkinsons commented Jun 20, 2025

Won't merge this in current form (even with the "blocked by" tasks from the PR description addressed, which is now outdated).

If anything we will instead look at using pre-commit.ci to execute pre-commit hooks, instead (if for some reason they have been missed) per the docs.

See https://pre-commit.ci/lite.html

@vilkinsons vilkinsons closed this Jun 21, 2025
@vilkinsons vilkinsons deleted the d/autofix-ci branch June 21, 2025 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/infra Relates to version control, CI, CD or IaC (area)

Development

Successfully merging this pull request may close these issues.

1 participant