[source-gitlab] New child stream using SubstreamPartitionRouter and incremental_dependency only gets full refreshes #50962
Labels
area/connectors
Connector related issues
autoteam
community
needs-triage
team/connectors-python
team/use
type/bug
Something isn't working
Connector Name
source-gitlab
Connector Version
4.3.3
What step the error happened?
During the sync
Relevant information
I have added a new stream for Merge Requests Discussions (for which I'm happy to open a PR to contribute it) as child of Merge Requests and I was expecting it to use the parent MRs cursor and thus filter Discussions based on it.
Relevant lines from
manifest.yaml
here:From command line, passing the right state it works as expected (i.e. something like
poetry run source-gitlab read --config secrets/config.json --catalog catalog_mr_discussions.json --state state_mr_discussions.json
) and the connector only pulls a small number of Discussions based on the Merge Requests cursor.On Airbyte Platform, however, the connector never receives the state for Merge Request Discussions and therefore that always leads to a full refresh.
I verified that the connection saved the complete state since there is a
parent_state
object with the right Merge Requests cursor for the new Discussions stream (Ids and names have been anonymized):But it seems that the connector does not get the full input state, I went into the workspaces docker volume and the
input_state.json
file only contains a state for Merge Requests and nothing else, which explains why the full refresh on Discussions:I'm not sure if it's something specific to Gitlab and the stream I'm trying to add or something platform broad like the issue described here.
Relevant log output
Contribute
The text was updated successfully, but these errors were encountered: