Skip to content

API integration for frontend #384

API integration for frontend

API integration for frontend #384

Triggered via pull request March 21, 2026 21:52
Status Failure
Total duration 1m 29s
Artifacts

ci.yml

on: pull_request
Backend Lint (Ruff)
7s
Backend Lint (Ruff)
Backend Tests (pytest)
23s
Backend Tests (pytest)
Contracts Check (Anchor)
6s
Contracts Check (Anchor)
Rust Lint (Clippy)
6s
Rust Lint (Clippy)
Docker Build & Smoke Test
13s
Docker Build & Smoke Test
Frontend Setup Check
4s
Frontend Setup Check
Frontend Lint (ESLint)
51s
Frontend Lint (ESLint)
Frontend Type Check (tsc)
1m 3s
Frontend Type Check (tsc)
Frontend Tests (Vitest)
55s
Frontend Tests (Vitest)
Frontend Build (Next.js)
1m 12s
Frontend Build (Next.js)
CI Status Summary
5s
CI Status Summary
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 10 warnings, and 2 notices
ruff (F401): backend/app/models/contributor.py#L13
app/models/contributor.py:13:21: F401 `decimal.Decimal` imported but unused help: Remove unused import: `decimal.Decimal`
ruff (F401): backend/app/middleware/security.py#L8
app/middleware/security.py:8:30: F401 `typing.Optional` imported but unused help: Remove unused import: `typing.Optional`
ruff (F401): backend/app/middleware/rate_limiter.py#L10
app/middleware/rate_limiter.py:10:30: F401 `typing.Optional` imported but unused help: Remove unused import: `typing.Optional`
ruff (F401): backend/app/main.py#L26
app/main.py:26:45: F401 `app.database.engine` imported but unused help: Remove unused import: `app.database.engine`
ruff (F401): backend/app/core/audit.py#L14
app/core/audit.py:14:31: F401 `app.models.errors.AuditLogEntry` imported but unused help: Remove unused import: `app.models.errors.AuditLogEntry`
ruff (F401): backend/app/api/stats.py#L10
app/api/stats.py:10:26: F401 `typing.List` imported but unused help: Remove unused import: `typing.List`
ruff (F821): backend/app/api/contributors.py#L257
app/api/contributors.py:257:21: F821 Undefined name `BaseModel`
ruff (F401): backend/app/api/contributors.py#L14
app/api/contributors.py:14:54: F401 `app.exceptions.TierNotUnlockedError` imported but unused help: Remove unused import: `app.exceptions.TierNotUnlockedError`
ruff (E402): backend/app/api/bounties.py#L633
app/api/bounties.py:633:1: E402 Module level import not at top of file
ruff (E402): backend/app/api/bounties.py#L455
app/api/bounties.py:455:1: E402 Module level import not at top of file
Docker Build & Smoke Test
Process completed with exit code 1.
Backend Tests (pytest)
Process completed with exit code 2.
Frontend Tests (Vitest)
Process completed with exit code 1.
CI Status Summary
Process completed with exit code 1.
Frontend Setup Check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Rust Lint (Clippy)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Contracts Check (Anchor)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Backend Lint (Ruff)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Docker Build & Smoke Test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Backend Tests (pytest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Frontend Lint (ESLint)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Frontend Tests (Vitest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Frontend Type Check (tsc)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Frontend Build (Next.js)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Rust Lint (Clippy)
No Cargo.toml found - skipping Rust lint
Contracts Check (Anchor)
No Anchor.toml found - skipping Anchor build