Skip to content

feat(api): expose provider verification views - #3719

Draft
chalabi2 wants to merge 7 commits into
akash-network:mainfrom
chalabi2:aep-86/console-verification-api
Draft

feat(api): expose provider verification views#3719
chalabi2 wants to merge 7 commits into
akash-network:mainfrom
chalabi2:aep-86/console-verification-api

Conversation

@chalabi2

Copy link
Copy Markdown

Why

Console clients need one normalized, flag-gated AEP-86 view instead of issuing per-provider chain queries. This is the API application slice of CON-800.

What

  • Attach verification summaries to provider lists and full lifecycle state to provider detail
  • Expose attestations, auditor status, bonds, snapshots, maintenance, grace, escrows, and discrepancies
  • Gate responses on the Console flag and indexer readiness
  • Proxy verification-aware bid screening and preserve managed-wallet auditor policy
  • Expose tier-demotion transitions for the notification worker
  • Regenerate the OpenAPI document, docs snapshot, and Console API types in a separate generated-output commit

Dependencies

The foundation commits are included temporarily so this branch can build and will disappear from the diff as those PRs merge.

@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Comment @coderabbitai help to get the list of available commands.

Comment thread package-lock.json
@@ -42,7 +42,7 @@
"license": "Apache-2.0",

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.

🔄 Carefully review the package-lock.json diff

Resolve the comment if everything is ok

* node_modules/@akashnetwork/chain-sdk                                                     1.0.0-alpha.41 -> 1.0.0-alpha.43
+ node_modules/@akashnetwork/provider-verification                                         link:packages/provider-verification
+ packages/provider-verification                                                           0.0.0   

@socket-security

socket-security Bot commented Aug 27, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​akashnetwork/​chain-sdk@​1.0.0-alpha.41 ⏵ 1.0.0-alpha.4385 +1100100 +198100
Added@​akashnetwork/​provider-verification@​0.0.0N/AN/AN/AN/AN/A

View full report

@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.28504% with 83 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.76%. Comparing base (37e3cc2) to head (967efe7).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ider-verification/provider-verification.service.ts 68.88% 41 Missing and 1 partial ⚠️
...r-verification/provider-verification.repository.ts 45.65% 24 Missing and 1 partial ⚠️
...vider-verification/provider-verification.mapper.ts 90.67% 8 Missing and 3 partials ⚠️
...utes/internal/providerVerificationTierDemotions.ts 20.00% 3 Missing and 1 partial ⚠️
...ion/provider-verification-tier-demotion.service.ts 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3719      +/-   ##
==========================================
- Coverage   79.76%   79.76%   -0.01%     
==========================================
  Files        1186     1195       +9     
  Lines       31867    32276     +409     
  Branches     7848     7948     +100     
==========================================
+ Hits        25418    25744     +326     
- Misses       5688     5765      +77     
- Partials      761      767       +6     
Flag Coverage Δ
api 89.94% <80.00%> (-0.43%) ⬇️
deploy-web 71.02% <ø> (ø)
log-collector 85.85% <ø> (ø)
notifications 94.33% <100.00%> (+0.01%) ⬆️
provider-console 81.38% <ø> (ø)
provider-inventory 84.98% <ø> (ø)
provider-proxy 88.22% <ø> (ø)
tx-signer 90.19% <ø> (ø)
Files with missing lines Coverage Δ
...ovider/controllers/provider/provider.controller.ts 83.33% <100.00%> (+0.72%) ⬆️
...ication/provider-verification-readiness.service.ts 100.00% <100.00%> (ø)
.../provider-verification-tier-demotion.repository.ts 100.00% <100.00%> (ø)
...tion/provider-verification-tier-demotion.schema.ts 100.00% <100.00%> (ø)
...vider-verification/provider-verification.schema.ts 100.00% <100.00%> (ø)
...src/provider/services/provider/provider.service.ts 96.09% <100.00%> (+0.85%) ⬆️
apps/api/src/utils/map/provider.ts 66.96% <ø> (ø)
...s/src/modules/chain/providers/registry.provider.ts 100.00% <100.00%> (ø)
...y/src/mappers/groupspec-mapper/groupspec-mapper.ts 100.00% <ø> (ø)
...ion/provider-verification-tier-demotion.service.ts 95.00% <95.00%> (ø)
... and 4 more
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Joseph Chalabi <chalabi.joseph@gmail.com>
@chalabi2
chalabi2 force-pushed the aep-86/console-verification-api branch from 47be604 to 8f356f6 Compare August 27, 2026 16:49
Keep the optional placement verification field optional at the JSON boundary and avoid expanding the generated type union while building the notifications registry.

Signed-off-by: Joseph Chalabi <chalabi.joseph@gmail.com>
Signed-off-by: Joseph Chalabi <chalabi.joseph@gmail.com>
Signed-off-by: Joseph Chalabi <chalabi.joseph@gmail.com>
Signed-off-by: Joseph Chalabi <chalabi.joseph@gmail.com>
Signed-off-by: Joseph Chalabi <chalabi.joseph@gmail.com>
Signed-off-by: Joseph Chalabi <chalabi.joseph@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant