Workspaces stream only returns 25 records (missing pagination)
- Linguagem predominante
- Python
- Estrelas
- 22.1k
- Forks
- 5.4k
- Merge médio
- 5h
- PRs com merge (30d)
- 671
Descrição
### Connector Name
source-Monday
### Connector Version
2.5.18
### What step the error happened?
During the sync
### Relevant information
### Description
The Workspaces stream only replicates the first 25 workspaces even when the Monday.com account has more (in my case, 57 workspaces).
The Monday.com GraphQL workspaces query has a default limit of 25 and supports pagination via the limit and page arguments. The connector appears to be making only the first request and not paginating further pages.
### Expected Behavior
The Workspaces stream should fetch all workspaces by paginating with limit + page until no more records are returned.
### Actual Behavior
Only the first 25 workspaces are synced. No additional pages are requested.
### Additional Context
Monday.com API docs: https://developer.monday.com/api-reference/docs/workspaces
(limit default = 25, supports page starting at 1)
In the Monday API playground: if I run the query bellow get all my workspaces
```
query {
workspaces(
limit: 100
page: 1
membership_kind: all
state: all
) {
id
name
kind
description
}
}
```
### Relevant log output
```shell
```
### Contribute
- [ ] Yes, I want to contribute
---
**Internal Tracking:** https://github.com/airbytehq/oncall/issues/13374
Guia de contribuição
Direção de pesquisa
Start in the source-Monday connector and find the Workspaces stream implementation. Compare its GraphQL workspaces query with the Monday.com docs linked in the issue, especially the limit and page arguments. Done means the stream keeps requesting pages until no more workspaces are returned and a sync can return more than the default 25 records.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- graphql, python
- Domínio
- data-engineering
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Ativa
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 68/100