Skip to content

Bump CVAT oracle deps, improve container structure - #3967

Merged
zhiltsov-max merged 16 commits into
developfrom
zm/cvat-lib-bump-drop-blockchain
Jul 14, 2026
Merged

Bump CVAT oracle deps, improve container structure#3967
zhiltsov-max merged 16 commits into
developfrom
zm/cvat-lib-bump-drop-blockchain

Conversation

@zhiltsov-max

@zhiltsov-max zhiltsov-max commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Issue tracking

Context behind the change

  • Bumped human-protocol-sdk deps in CVAT EO/RO to 7.3.1, migrated the code
  • Dropped the unnecessary blockchain-node from RO tests that were blocking the migration
  • Refactored RO deps to be in a single dev group
  • Reorganized startup commands for oracle testing to allow faster startup and component-wise launch/teardown
  • Improved performance of EO and RO tests (EO: 200s -> ~7s, RO: 120s -> ~2s)
  • Fixed incorrect suppression of oracle logs in pytest runs
  • Locked the poetry version used to 1.8.5

How has this been tested?

Release plan

Potential risks; What to monitor; Rollback plan

zhiltsov-max and others added 8 commits July 13, 2026 14:32
Recording-oracle integration tests spun up a local blockchain node
(create/fund/setup escrow, on-chain store_results) which was slow and
flaky (deploy addresses drifting from the SDK LOCALHOST constants).

Mock the human-protocol-sdk boundary instead, matching the
exchange-oracle approach:
- chain/test_escrow: patch EscrowUtils.get_escrow -> EscrowData for
  reads; mock get_web3 + EscrowClient for store_results (the SDK
  validates url/hash before any chain call, so invalid-input cases use
  a real client with a mock web3).
- cron webhook tests: use a constant escrow address + mock validate_escrow
  and the handlers rather than a real escrow.
- remove the chain test helpers (setup_escrow, setup_kvstore) and the
  blockchain node infra (docker-compose.test.blockchain.yml,
  blockchain-node.Dockerfile); point test.head WEB3 URI at localhost.

Also refresh the exchange-oracle chain tests for the human-protocol-sdk
7.3.1 EscrowData signature.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Regenerate both oracles' lockfiles for the 7.3.1 bump on top of develop
(without the audio feature's extra deps).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
human-app Ready Ready Preview, Comment Jul 13, 2026 5:32pm
human-dashboard-frontend Ready Ready Preview, Comment Jul 13, 2026 5:32pm
staking-dashboard Ready Ready Preview, Comment Jul 13, 2026 5:32pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
faucet-frontend Ignored Ignored Preview Jul 13, 2026 5:32pm
faucet-server Ignored Ignored Preview Jul 13, 2026 5:32pm

Request Review

@zhiltsov-max
zhiltsov-max merged commit b60b89a into develop Jul 14, 2026
17 of 19 checks passed
@zhiltsov-max
zhiltsov-max deleted the zm/cvat-lib-bump-drop-blockchain branch July 14, 2026 12:57
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