Skip to content

chore: Add agentic files separate from cherry pick to main#29203

Merged
gambinish merged 1 commit into
mainfrom
perps/fix-avail-balance-order-entry--extra
Apr 22, 2026
Merged

chore: Add agentic files separate from cherry pick to main#29203
gambinish merged 1 commit into
mainfrom
perps/fix-avail-balance-order-entry--extra

Conversation

@gambinish

@gambinish gambinish commented Apr 22, 2026

Copy link
Copy Markdown
Member

Description

Adds agentic workflow json directly to main, separately from cherry pick branch: #29150

Changelog

CHANGELOG entry: Adds #29510 agentic workflows separately from cherry pick branch

Related issues

Fixes:

Manual testing steps

Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]

Screenshots/Recordings

Before

After

Pre-merge author checklist

Performance checks (if applicable)

  • I've tested on Android
    • Ideally on a mid-range device; emulator is acceptable
  • I've tested with a power user scenario
    • Use these power-user SRPs to import wallets with many accounts and tokens
  • I've instrumented key operations with Sentry traces for production performance metrics

For performance guidelines and tooling, see the Performance Guide.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Note

Low Risk
Low risk: only adds internal agentic JSON workflows and a docs link, with no runtime app code changes. Main risk is operational (admin flow invokes mainnet HyperLiquid transfers if executed).

Overview
Adds two new Perps agentic flows: hl-provision-fixture.json (admin/test automation to flip HyperLiquid abstraction mode and transfer USDC between perps/spot via the exchange client) and hl-balance-validation.json (automation that refreshes account state, asserts availableBalance vs availableToTradeBalance invariants, and screenshots/validates balance text on market list, withdraw, and order entry screens).

Extends evals.json with a reusable hl-fixture-state snapshot helper used by the new flows, and updates perps-architecture.md to link to the new HyperLiquid account-modes/portfolio-margin doc.

Reviewed by Cursor Bugbot for commit b14ef5e. Bugbot is set up for automated code reviews on this repo. Configure here.

@metamaskbotv2 metamaskbotv2 Bot added the team-perps Perps team label Apr 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

⏭️ Smart E2E selection skipped - draft PR

All E2E tests pre-selected.

View GitHub Actions results

@sonarqubecloud

Copy link
Copy Markdown

@gambinish gambinish marked this pull request as ready for review April 22, 2026 17:55
@gambinish gambinish requested a review from a team as a code owner April 22, 2026 17:55
@github-actions

Copy link
Copy Markdown
Contributor

AI PR Analysis

🚫 Merge safe: false | 🟠 Risk: high

Merge decision: AI analysis did not complete — manual review required before merging.

AI analysis did not complete. Manual review recommended.

View run

@github-actions github-actions Bot added the risk:high AI analysis: high risk label Apr 22, 2026
@gambinish gambinish enabled auto-merge April 22, 2026 17:58
@gambinish gambinish added this pull request to the merge queue Apr 22, 2026
Merged via the queue into main with commit bb3efe0 Apr 22, 2026
105 of 108 checks passed
@gambinish gambinish deleted the perps/fix-avail-balance-order-entry--extra branch April 22, 2026 18:11
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 22, 2026
@metamaskbotv2 metamaskbotv2 Bot added the release-7.75.0 Issue or pull request that will be included in release 7.75.0 label Apr 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.75.0 Issue or pull request that will be included in release 7.75.0 risk:high AI analysis: high risk size-M team-perps Perps team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants