Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

KServe REST rejects INT64 and UINT64 values outside 32-bit range

Aperta
#4,688 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@YugShah1510 ci sta già lavorando.

Dal 22/10/2026.

  • #4689 di @YugShah1510 — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
api, backend

Direzione di ricerca

Read the INT64 and UINT64 branches in src/rest_parser.cpp and the existing parser tests for these datatypes. Check how RapidJSON’s type checks pair with its 64-bit getters, then run the OVMS C++ parser test if the build tools are available. Done means both reproduction values parse successfully and are preserved in the protobuf contents.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description

KServe REST requests with INT64 or UINT64 inputs are rejected when an integer value is outside the corresponding 32-bit range, even though the parser stores these inputs in 64-bit protobuf fields.

Reproduction

Send either input in a KServe v2 inference request:

{"inputs":[{"name":"input0","shape":[1],"datatype":"INT64","data":[2147483648]}]}

or:

{"inputs":[{"name":"input0","shape":[1],"datatype":"UINT64","data":[4294967296]}]}

Actual behavior

The REST parser returns REST_COULD_NOT_PARSE_INPUT for these values. In src/rest_parser.cpp, the INT64 branch calls GetInt64() but first requires IsInt(), and the UINT64 branch calls GetUint64() but first requires IsUint(). Those checks only accept values representable by 32-bit int and unsigned respectively.

Expected behavior

The parser should accept representable signed and unsigned 64-bit JSON integers for INT64 and UINT64 inputs and preserve their values in the corresponding protobuf contents.

Evidence and test status

The parser branches and RapidJSON type-check/getter pairings were inspected against the RapidJSON API semantics. Existing parser tests exercise only small values (1 through 4) for these datatypes, so they do not cover the 32-bit boundaries. The repository does not currently have Bazel/Bazelisk or a built ovms_test binary available, so the OVMS C++ parser test has not yet been run.

Lingua principale
C++
Stelle
952
Fork
285
Merge medio
3g 5h
PR unite (30g)
45

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openvinotoolkit/model_server

Tutte le issue di openvinotoolkit/model_server

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.