Skip to content

chore(subgraph): add biome config and format codebase#638

Open
silent-cipher wants to merge 3 commits into
mainfrom
ci/subgraph
Open

chore(subgraph): add biome config and format codebase#638
silent-cipher wants to merge 3 commits into
mainfrom
ci/subgraph

Conversation

@silent-cipher

@silent-cipher silent-cipher commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Part of #498

@FilOzzy FilOzzy added this to FOC Jul 3, 2026
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Jul 3, 2026
@silent-cipher silent-cipher self-assigned this Jul 3, 2026
@silent-cipher silent-cipher marked this pull request as ready for review July 3, 2026 09:09
Copilot AI review requested due to automatic review settings July 3, 2026 09:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Biome tooling/config for the apps/subgraph package, reformats the subgraph code/tests accordingly, and introduces a subgraph-focused GitHub Actions workflow to run codegen/tests/builds for both calibration and mainnet.

Changes:

  • Add Biome config + package scripts for formatting/linting/checks in apps/subgraph.
  • Add .github/workflows/subgraph.yml to run subgraph tests and build both network manifests on PRs touching the subgraph.
  • Apply formatting/cleanup changes across subgraph AssemblyScript tests/helpers and a small DataSetStatus refactor.

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pnpm-lock.yaml Adds @biomejs/biome to the workspace lockfile.
apps/subgraph/tests/pdp-verifier.test.ts Formatting-only updates (imports/strings).
apps/subgraph/tests/pdp-verifier-utils.ts Formatting + minor refactors in test event builders.
apps/subgraph/tests/fwss.test.ts Formatting-only updates.
apps/subgraph/tests/fwss-utils.ts Formatting + minor refactors in test event builders.
apps/subgraph/tests/dataset-status.test.ts Formatting-only updates (imports).
apps/subgraph/src/types.ts Refactors DataSetStatus from static-only class to namespace constants.
apps/subgraph/src/helpers.ts Minor formatting/refactor changes (template strings, const).
apps/subgraph/src/fwss.ts Minor formatting change to logging call.
apps/subgraph/scripts/sync-abis.mjs Import ordering formatting.
apps/subgraph/scripts/check-networks.test.mjs Formatting/consistency tweaks to assertions and object keys.
apps/subgraph/package.json Adds Biome scripts and adjusts build/test scripts.
apps/subgraph/biome.json Introduces subgraph-specific Biome overrides.
.github/workflows/subgraph.yml Adds a subgraph-scoped CI workflow (tests + builds for both networks).
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

Comment thread apps/subgraph/package.json Outdated
Comment thread .github/workflows/subgraph.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📌 Triage

Development

Successfully merging this pull request may close these issues.

3 participants