wso2 / wso2/api-platform

[Bug]: Const Based RL - Prevent duplicate token consumption across response phases

Open
#1,530 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area/Management Aspect/API Severity/Blocker Type/Bug
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Please select the area the issue is related to

Area/Management (Management API or Management Portal UI)

Please select the aspect the issue is related to

Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI)

Description

https://github.com/wso2/gateway-controllers/pull/138/changes#r3002743786

Steps to Reproduce

code rabbit comment

Severity Level of the Issue

Severity/Blocker (Core functionality is broken and consumer is blocked. Need immediate attention)

Environment Details (with versions)

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked gateway-controllers pull request and its review comment, then trace the Const Based RL behavior across response phases. Reproduce the duplicate token-consumption case and add a regression test; done means the same token is not consumed more than once.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.