Record-search pagination tip recommends --offset even when --json rejects it
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 75/100
Línea de trabajo
Lee shortcuts/base/record_export.go en torno al consejo compartido sobre la paginación y luego revisa shortcuts/base/record_query.go en torno a la validación de JSON y de la paginación. Armoniza las instrucciones para continuar en el modo de flags y en el modo de cuerpo JSON; el trabajo estará terminado cuando el consejo indique a quienes usan JSON que incluyan el siguiente offset en el cuerpo de la solicitud y deje de sugerir un flag --offset contradictorio.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hullo folks,
I'm doing some research for Tessl Code Review and we ran it against your repo. It flagged a potential issue, and I figured it made sense to share it with you:
The shared record-analysis tip tells callers to continue with --offset set to next_offset when has_more is true. +record-search includes this tip, including when the request uses --json.
For example, a caller starts with:
lark-cli base +record-search --base-token <base> --table-id <table> \
--json '{"keyword":"Alice","search_fields":["Name"],"limit":2}'
If the response has more results, following the tip by adding --offset 2 conflicts with --json. The validator rejects explicitly supplied pagination flags; offset is in that exclusive set.
Expected: distinguish flag-mode continuation from JSON-body continuation. For the latter, put "offset":2 inside the JSON body. The validation hint already explains this, but the earlier pagination instruction sends the caller into the error.
This is a help-text/validation inconsistency established from current source, not a live Lark API test. Checked commit: c5fbf1a52df77d5cb9cac2b1501770b2fb9af7d2.
Full transparency: I work at Tessl, and we've spotted that using Tessl Code Review - using repository-level context and specific review lenses that improve over time through feedback. That’s how this finding surfaced.
We’re just getting started and want to offer the tool free to open-source projects. If this is useful, happy to give you access.
Baptiste
- Lenguaje dominante
- Go
- Estrellas
- 18.2k
- Forks
- 1.4k
- Merge medio
- 20 h 34 min
- PR fusionados (30 d)
- 17
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de larksuite/cli
-
临时网络故障的情况下,重试 2 次失败就直接执行了 token clearedPosiblemente ocupada @orshih6 la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
domain/im
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug domain/doc
Dificultad 1/5 Menos de una hora Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
mail: all-ASCII draft bodies are hard-wrapped every 998 bytes, inserting newlines inside words and tagsPosiblemente ocupada @linye157 la tomó hace 27 días. Abiertodomain/mail
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
auth: a 429 from the Token Endpoint during refresh deletes a still-valid loginPosiblemente ocupada @linye157 la tomó hace 27 días. Abiertobug domain/auth domain/im
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
larksuite/cli#2869 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de larksuite/cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
pg-sharding/spqr#3314 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
zalando/postgres-operator#3257 ·
Los mantenedores suelen responder en 2 días
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentPosiblemente ocupada @cvas22 la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
influxdata/telegraf#20264 ·
Los mantenedores suelen responder en 1 día
-
[Bug] Standalone migration breaks existing Ingress routes using the envoy-http Service port nameAbiertoaccepted bug wg/enterprise-environment
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vllm-project/semantic-router#7483 · 1 comentario ·
Los mantenedores suelen responder en 1 día