Skip to content

refactor(frontend): remove v1 settings query gates - #214

Draft
saurya wants to merge 2 commits into
mainfrom
remove-frontend-v1-gates
Draft

refactor(frontend): remove v1 settings query gates#214
saurya wants to merge 2 commits into
mainfrom
remove-frontend-v1-gates

Conversation

@saurya

@saurya saurya commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

HUMAN:

  • A human has tested these changes.

AGENT:
OpenHands


Why

All new conversations use V1, but conversation hooks and provisioning start-task queries were still disabled by the legacy v1_enabled setting. An explicit false value could therefore hide V1 state for conversations that were created through V1.

Summary

  • Fetch conversation hooks without consulting v1_enabled.
  • Always query V1 conversation start tasks and retain existing status filtering.
  • Add focused React Query hook coverage.

Issue Number

N/A

How to Test

  • cd frontend && npm test -- __tests__/hooks/query/use-conversation-hooks.test.tsx __tests__/hooks/query/use-start-tasks.test.tsx
  • cd frontend && npm run lint
  • cd frontend && npm run build
  • pre-commit run --config ./dev_config/python/.pre-commit-config.yaml

Video/Screenshots

Not included; this changes query gating without changing rendered layout.

Type

  • Bug fix
  • Feature
  • Refactor
  • Breaking change
  • Docs / chore

Notes

Stacked on #213. OpenHands/OpenHands (Agent Canvas) already has no v1_enabled dependency in the equivalent hooks, so no Canvas PR is required.

This PR was created by an AI agent (OpenHands) on behalf of the user.


Enterprise server image for this PR:

ghcr.io/openhands/enterprise-server:sha-68a64f0

saurya and others added 2 commits August 20, 2026 08:49
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
@saurya saurya changed the title Remove frontend v1 settings query gates refactor(frontend): remove v1 settings query gates Aug 20, 2026
@github-actions github-actions Bot added the type: refactor Code refactoring label Aug 20, 2026
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

Base automatically changed from remove-v1-max-budget-control to main August 27, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: refactor Code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant