Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Source Chargebee: Ensure no pagination issues during concurrency #48510

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

maxi297
Copy link
Contributor

@maxi297 maxi297 commented Nov 15, 2024

What

As part of this release, there is a bugfix regarding pagination and threads safety. We want to make sure source-chargebee is not affected by it and therefore we will re-release it with the CDK version.

How

Update dependencies

User Impact

If users were facing pagination issues, this should fix it.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Nov 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Nov 20, 2024 2:00pm

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Nov 15, 2024
@maxi297 maxi297 removed the request for review from airbyteio November 15, 2024 14:42
| 0.7.1 | 2024-11-04 | [48133](https://github.com/airbytehq/airbyte/pull/48133) | Fix `error message pattern` to handle `Product 1.0` related errors |
| 0.7.0 | 2024-10-30 | [47978](https://github.com/airbytehq/airbyte/pull/47978) | Upgrade the CDK and startup files to sync incremental streams concurrently |
| 0.6.18 | 2024-10-31 | [47099](https://github.com/airbytehq/airbyte/pull/47099) | Update dependencies |
| 0.7.2 | 2024-11-18 | [48510](https://github.com/airbytehq/airbyte/pull/48510) | Ensure no pagination issues on concurrent syncs |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set up the date for Monday but if we think it is necessary, I can release today

Copy link
Contributor Author

@maxi297 maxi297 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments on the test changes

@@ -35,8 +35,8 @@ definitions:
datetime: "{{ format_datetime(config['start_date'], '%s') }}"
datetime_format: "%s"
end_datetime:
datetime: "{{ now_utc().strftime('%s') }}"
datetime_format: "%s"
datetime: "{{ now_utc().strftime('%Y-%m-%dT%H:%M:%SZ') }}"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got trolled by that. As this is not expose anywhere, I've decided to update the format to one that won't break with timezone differences.

@@ -195,7 +195,7 @@ def test_given_no_initial_state_when_read_then_return_state_based_on_most_recent
output = self._read(_config().with_start_date(self._start_date - timedelta(hours=8)), _NO_STATE)
most_recent_state = output.most_recent_state
assert most_recent_state.stream_descriptor == StreamDescriptor(name=_STREAM_NAME)
assert most_recent_state.stream_state == AirbyteStateBlob(updated_at=cursor_value)
assert most_recent_state.stream_state == AirbyteStateBlob(updated_at=str(cursor_value))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The state has changed from a int to a string. This shouldn't be an issue because as shown here, the change is backward compatible

Copy link
Contributor

@brianjlai brianjlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks straightforward and nice catch on the timezone thing on the manifest.

But seeing some acceptance test failures and regression tests as well. I think the abnormal state test we need to update the future_state.json file to use strings instead of int. But not sure about the others. One looks like a timeout.

Have you run other regression tests that passed on chargebee w/ the latest commit?

@maxi297
Copy link
Contributor Author

maxi297 commented Nov 18, 2024

CATs seem to have been more than flaky recently (see this). I would assume the rate limiting does not help. What worries me a bit is that our sandbox account right now is failing although it seems like a destination issue...

I've executed regression testing locally with our sandbox account and got pretty good results:
image

However, I had test_read failed because of stream statuses:
image

This is strange because I definitely can see those stream statuses in the output:

~% grep 'STREAM_STATUS' /private/tmp/live_tests_artifacts/session_1731817832/command_execution_artifacts/source-chargebee/read/dev/stdout.log
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818433060.427, "stream_status": {"stream_descriptor": {"name": "subscription"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818433107.2322, "stream_status": {"stream_descriptor": {"name": "invoice"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818433270.8098, "stream_status": {"stream_descriptor": {"name": "subscription"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818434637.25, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818434711.952, "stream_status": {"stream_descriptor": {"name": "subscription"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818434809.6199, "stream_status": {"stream_descriptor": {"name": "invoice"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818443665.535, "stream_status": {"stream_descriptor": {"name": "hosted_page"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818443825.722, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818444173.81, "stream_status": {"stream_descriptor": {"name": "invoice"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818445205.018, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818445308.5698, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818445373.58, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818446425.618, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818446436.524, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818446590.888, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818447462.456, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818447475.717, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818447632.68, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818449503.019, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818449518.529, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818449667.294, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818453546.4102, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818453559.699, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818453711.543, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818461596.4502, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818461606.919, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818461762.3489, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818477660.503, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818477663.9978, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818477803.6921, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818509734.621, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818509736.6282, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818509851.819, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818580782.903, "stream_status": {"stream_descriptor": {"name": "item"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818581200.197, "stream_status": {"stream_descriptor": {"name": "order"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818581955.541, "stream_status": {"stream_descriptor": {"name": "item_price"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818581972.607, "stream_status": {"stream_descriptor": {"name": "hosted_page"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818582082.735, "stream_status": {"stream_descriptor": {"name": "item"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818582976.382, "stream_status": {"stream_descriptor": {"name": "payment_source"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818583069.781, "stream_status": {"stream_descriptor": {"name": "item"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818583126.7778, "stream_status": {"stream_descriptor": {"name": "item_price"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818584092.8098, "stream_status": {"stream_descriptor": {"name": "promotional_credit"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818584176.7222, "stream_status": {"stream_descriptor": {"name": "item_price"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818584216.5698, "stream_status": {"stream_descriptor": {"name": "payment_source"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818585117.763, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818585136.897, "stream_status": {"stream_descriptor": {"name": "payment_source"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818585218.956, "stream_status": {"stream_descriptor": {"name": "promotional_credit"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818586248.596, "stream_status": {"stream_descriptor": {"name": "credit_note"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818586322.7, "stream_status": {"stream_descriptor": {"name": "promotional_credit"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818586368.239, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818587300.6511, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818587357.2842, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818587421.439, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818588466.0, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818588496.007, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818588588.855, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818589636.7422, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818589855.262, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818590515.839, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818590822.63, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818590906.985, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818592065.0808, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818592957.4941, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818593117.456, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818594703.439, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818595356.55, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818595948.4739, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818596407.698, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818596988.533, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818597017.343, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818598465.927, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818599034.7769, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818602511.2742, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818603090.967, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818605070.6848, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818610571.363, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818611135.8718, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818621122.035, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818626633.11, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818627190.351, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818653253.58, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818654362.084, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818655416.052, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818657625.949, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818658731.3389, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818658760.934, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818659316.9219, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818659769.4768, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818659797.3162, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818660383.564, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818661843.522, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818661874.6929, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818662487.221, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818662916.393, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818663594.554, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818664698.903, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818665029.684, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818665805.5051, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818665949.45, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818666134.4868, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818666844.455, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818666996.697, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818667181.04, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818668893.359, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818669043.053, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818669357.6118, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818670596.411, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818671900.789, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818673008.975, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818673018.692, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818673095.8071, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818674065.213, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818674182.954, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818675382.976, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818676176.604, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818676548.688, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818677348.6062, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818677716.223, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818678458.678, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818678872.9329, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818679673.197, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818680018.638, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818680723.603, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818681068.729, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818681145.617, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818682977.7998, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818683233.006, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818684258.985, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818684599.08, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818685428.615, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818685710.36, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818686535.754, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818686766.297, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818687646.524, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818688692.7258, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818688932.07, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818689986.506, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818691011.25, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818692102.676, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818692114.6108, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818693281.999, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818693791.289, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818694510.4739, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818694855.77, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818695561.5361, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818697019.787, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818697202.368, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818697749.29, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818698129.58, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818698851.41, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818699177.9429, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818699910.438, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818701352.7888, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818701973.4038, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818702401.907, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818704571.613, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818705679.91, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818706090.468, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818706996.772, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818707397.768, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818708234.6611, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818708721.82, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818709355.438, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818709822.638, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818710466.1218, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818711141.9749, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818711658.951, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818712253.696, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818712842.541, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818713427.591, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818713969.2632, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818714635.3271, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818715018.826, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818715683.1191, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818718423.603, "stream_status": {"stream_descriptor": {"name": "quote"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818718556.662, "stream_status": {"stream_descriptor": {"name": "credit_note"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818720091.399, "stream_status": {"stream_descriptor": {"name": "comment"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818720167.917, "stream_status": {"stream_descriptor": {"name": "credit_note"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818720371.81, "stream_status": {"stream_descriptor": {"name": "quote"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818721767.544, "stream_status": {"stream_descriptor": {"name": "item_family"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818721805.023, "stream_status": {"stream_descriptor": {"name": "quote"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818721898.814, "stream_status": {"stream_descriptor": {"name": "comment"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818723234.604, "stream_status": {"stream_descriptor": {"name": "differential_price"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818723287.292, "stream_status": {"stream_descriptor": {"name": "comment"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818724099.001, "stream_status": {"stream_descriptor": {"name": "item_family"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818724838.9248, "stream_status": {"stream_descriptor": {"name": "item_family"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818724983.167, "stream_status": {"stream_descriptor": {"name": "differential_price"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818726572.1792, "stream_status": {"stream_descriptor": {"name": "differential_price"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818729362.673, "stream_status": {"stream_descriptor": {"name": "transaction"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818729573.875, "stream_status": {"stream_descriptor": {"name": "subscription_with_scheduled_changes"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818736919.224, "stream_status": {"stream_descriptor": {"name": "subscription_with_scheduled_changes"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818737234.9, "stream_status": {"stream_descriptor": {"name": "subscription_with_scheduled_changes"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818737235.138, "stream_status": {"stream_descriptor": {"name": "attached_item"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818737581.805, "stream_status": {"stream_descriptor": {"name": "attached_item"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818739847.975, "stream_status": {"stream_descriptor": {"name": "attached_item"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818739848.1628, "stream_status": {"stream_descriptor": {"name": "gift"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818740008.886, "stream_status": {"stream_descriptor": {"name": "gift"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818740010.0679, "stream_status": {"stream_descriptor": {"name": "gift"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818740010.26, "stream_status": {"stream_descriptor": {"name": "unbilled_charge"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818740165.277, "stream_status": {"stream_descriptor": {"name": "unbilled_charge"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818740167.488, "stream_status": {"stream_descriptor": {"name": "unbilled_charge"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818740167.6199, "stream_status": {"stream_descriptor": {"name": "quote_line_group"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818740598.5342, "stream_status": {"stream_descriptor": {"name": "quote_line_group"}, "status": "RUNNING"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818741702.81, "stream_status": {"stream_descriptor": {"name": "quote"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818742799.976, "stream_status": {"stream_descriptor": {"name": "quote"}, "status": "RUNNING", "reasons": [{"type": "RATE_LIMITED"}]}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818743905.4429, "stream_status": {"stream_descriptor": {"name": "quote_line_group"}, "status": "COMPLETE"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818743905.667, "stream_status": {"stream_descriptor": {"name": "site_migration_detail"}, "status": "STARTED"}}}
{"type": "TRACE", "trace": {"type": "STREAM_STATUS", "emitted_at": 1731818744045.969, "stream_status": {"stream_descriptor": {"name": "site_migration_detail"}, "status": "COMPLETE"}}}

From looking deeper at this test, it seems like for each record, we validate that all streams in the catalog have emitted a stream status. There are two things which are surprising to me:

  • We validate that for each record
  • If the catalog contains more than on stream, this test will fail because we compare the statuses for a specific stream (statuses = read_target_execution_result.get_status_messages_per_stream(stream.stream.name)) with the whole catalog.
    I'm missing some context here. @alafanechere @clnoll were validation tests always executed? Were there changes in those tests recently? I'm trying to understand why I'm facing this issue today? I've been running those tests using the following command:
poetry run pytest src/live_tests \
 --connector-image=airbyte/source-chargebee \
 --config-path=../../../airbyte-integrations/connectors/source-chargebee/secrets/config.json \
 --catalog-path=../../../airbyte-integrations/connectors/source-chargebee/integration_tests/configured_catalog.json \
 --target-version=dev \
 --pr-url=https://github.com/airbytehq/airbyte/pull/48510

@alafanechere
Copy link
Contributor

I'm missing some context here. @alafanechere @clnoll were validation tests always executed? Were there changes in those tests recently? I'm trying to understand why I'm facing this issue today? I've been running those tests using the following command:

@maxi297
Validation tests are not running in CI. They do run locally.
Validation tests is the test suite that is meant to eventually replace CAT.
I've also seen this _validate_stream_status test fail on local runs on other connectors. I'd ignore those failure until we tackle this issue https://github.com/airbytehq/airbyte-internal-issues/issues/10762

@maxi297
Copy link
Contributor Author

maxi297 commented Nov 18, 2024

@alafanechere I'll therefore comment the lines that are validating this because it prevents the other validations from test_read to occur. Let me re-run this

@maxi297
Copy link
Contributor Author

maxi297 commented Nov 18, 2024

Without this check, the test_read passes:
image

I've reduced the num_workers in our GSM config and will retrigger the tests

@maxi297 maxi297 requested a review from a team as a code owner November 19, 2024 19:41
$parameters:
name: "subscription_with_scheduled_changes"
primary_key: "id"
primary_key: "subscription_id"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is normally a breaking change but since it wasn't working before (id wasn't populated), then I won't make it a breaking change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/chargebee
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants