Skip to content

Conversation

@tanushree-akamai
Copy link
Contributor

Resource Locking feature(RESPROT2)

Description 📝

Added new API endpoints, types, and queries for Resource Locking feature

Changes 🔄

Added new endpoints (API v4 beta):
GET /v4beta/locks
GET /v4beta/locks/{lock_id}
POST /v4beta/locks
DELETE /v4beta/locks/{lock_id}

Introduced new types:
LockEntity
LockType
CreateLockPayload
ResourceLock

Added required queries:
useLocksQuery
useLockQuery
useCreateLockMutation
useDeleteLockMutation

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

How to test 🧪

Confirm changes match API spec (API spec - added in the parent ticket)

Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@bnussman-akamai
Copy link
Member

Looks like some tests and typescript typecheck is failing for some reason

Copy link
Contributor

@dwiley-akamai dwiley-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add changesets for the api-v4, manager, and queries packages? The category would be Upcoming Features for each entry.

@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Dec 11, 2025
@tanushree-akamai tanushree-akamai self-assigned this Dec 17, 2025
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 830 passing tests on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing830 Passing11 Skipped35m 30s

@tanushree-akamai tanushree-akamai merged commit f8584b3 into linode:develop Dec 17, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RESPROT-2 Resource Locking

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

4 participants