1
0
mirror of synced 2025-12-21 02:51:29 -05:00
Commit Graph

145 Commits

Author SHA1 Message Date
David Gold
64f1ea20dc chore(source-github): Upgrade to Python 3.13 (#68637)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-10-29 15:43:14 -07:00
devin-ai-integration[bot]
667b2b6361 fix(source-github): Normalize reaction field names for Avro/Parquet compatibility (do not merge) (#68095)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Patrick Nilan <nilan.patrick@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2025-10-22 09:16:14 -07:00
Brian Lai
262018744a fix(source-github): Graceful error handling of invalid credentials when running all sync operations (#67584)
Fixes: https://github.com/airbytehq/airbyte-internal-issues/issues/14576

## What

We had a previous swarm issue that ended up being a customer
misconfiguration due to expired or invalid creds. That being said, the
error message was particularly unhelpful w/ a bunch of python stack
traces. This replace that with far more useful information:

```
{"type":"CONNECTION_STATUS","connectionStatus":{"status":"FAILED","message":"'Github credentials have expired or changed, please review your credentials and re-authenticate or renew your access token.'"}}
``` 

## How

The main thing to call out here is that we want to get in the habit of
using our dedicated `HttpClient` which gives us better error handling
and just default behavior as a whole instead of using the `requests`
library. Otherwise the rest is pretty straightforward

## Review guide

nah

## User Impact

none

## Can this PR be safely reverted and rolled back?

- [x] YES 💚
- [ ] NO 
2025-10-13 16:13:18 -07:00
Daryna Ishchenko
7e5c616453 fix(source-github): fix min time to wait on token rate limits (#67589)
## What
there is an issue while processing min time to wait on token rate
limits:
.seconds - returns positive value 
fixed to
.total_seconds() - returns both negative and positive values. (negative
when reset time for token is older then datetime now)

## How
<!--
* Describe how code changes achieve the solution.
-->

## Review guide
<!--
1. `x.py`
2. `y.py`
-->

## User Impact
<!--
* What is the end result perceived by the user?
* If there are negative side effects, please list them. 
-->

## Can this PR be safely reverted and rolled back?
<!--
* If unsure, leave it blank.
-->
- [ ] YES 💚
- [ ] NO 
2025-10-09 16:29:34 +03:00
Daryna Ishchenko
c628d28c7d fix(source-github): fix datetime converting in workflows stream (#67026)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2025-10-03 16:51:41 +03:00
Daryna Ishchenko
8bfaa23b2f chore(source-github) update to airbyte cdk v7 (#66736) 2025-10-02 13:29:00 +03:00
Aldo Gonzalez
19243f4d28 bug(source-github): problem getting author for contributor_activity stream (#62054) 2025-06-25 16:27:38 -06:00
Aldo Gonzalez
9e6a874144 bug(source-github): fix case when repository is empty (#61742) 2025-06-23 14:41:42 -06:00
Aaron ("AJ") Steers
83ecbe0fc3 CI: apply pre-commit format fix from #49806 (#49852) 2024-12-18 14:05:43 -08:00
Anatolii Yatsuk
84f3b03f9c fix(source-github): fix state handling for stream WorkflowRuns (#44592) 2024-09-04 10:55:18 +03:00
Brian Lai
2aaf33e679 [source-github] Bump cdk version and enable RFR for all non-incremental streams (#42966) 2024-08-09 12:54:01 -04:00
Serhii Lazebnyi
d327ec4960 refactor(source-github): migrate to CDK v3 (#41677) 2024-07-18 20:03:57 +02:00
Christo Grabowski
074bc068f2 Source Github: Refactor incremental state handling (#39513) 2024-06-18 11:59:01 -04:00
Artem Inzhyyants
b7ae0907f6 feat(source-github): add max_waiting_time to configuration (#38758)
Signed-off-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
2024-05-30 19:55:05 +02:00
Christo Grabowski
77e42a7f5c Sources Jira, Github: update authenticator package (#38341) 2024-05-22 11:20:05 -04:00
Chandler Prall
b531751459 fix typo in GH source client (#38299)
Co-authored-by: Oleksandr Bazarnov <oleksandr.bazarnov@globallogic.com>
2024-05-20 10:35:58 -06:00
Brian Leonard
b581877557 source-github: ensure inline schemas, updated cdk, poetry (where possible) (#36636)
Co-authored-by: Serhii Lazebnyi <53845333+lazebnyi@users.noreply.github.com>
2024-05-07 14:15:11 +02:00
Denys Davydov
003fc6ef06 🐛 Source Github: increase discovery time (#36429) 2024-03-26 20:36:36 +02:00
Artem Inzhyyants
2ce32ab24d 🐛 Source Github: Handle rate limit exception as config error (#35986)
Signed-off-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
2024-03-13 10:09:11 +01:00
Augustin
b05c49097a Source GitHub: updating branches schema and unpin on cloud (#35271)
Co-authored-by: maxi297 <maxime@airbyte.io>
Co-authored-by: Maxime Carbonneau-Leclerc <3360483+maxi297@users.noreply.github.com>
2024-02-15 15:03:58 -05:00
Artem Inzhyyants
18cfa24974 🐛 Source GitHub: Continue Sync on Stream failure (#34700) 2024-02-02 17:55:41 +01:00
Joe Reuter
f29234a2db airbyte-lib: Refactor connectors (#34552) 2024-01-30 03:22:13 -06:00
Artem Inzhyyants
66cd528340 🐛 Source GitHub: Fix MultipleTokenAuthenticator sleep time (#34598) 2024-01-29 11:29:32 +01:00
Artem Inzhyyants
53851609f8 🐛 Source GitHub: Fix MultipleToken rotation logic (#34503) 2024-01-26 15:15:54 +01:00
Artem Inzhyyants
71783509f2 🐛 Source GitHub: Fix retry for 504 error in GraphQL based streams (#33783) 2024-01-03 11:22:42 +01:00
Daryna Ishchenko
6fce769ce3 🐛 Source Github: return AirbyteMessage if max retry exeeded for 202 status code (#32679)
Co-authored-by: darynaishchenko <darynaishchenko@users.noreply.github.com>
2023-11-23 07:06:38 -06:00
Artem Inzhyyants
c7d411061e Source GitHub: handle ContributorActivity continuous ACCEPTED response (#31386) 2023-10-13 18:35:36 +02:00
Artem Inzhyyants
f26bd9ed84 Source GitHub: update links to docs (#31307) 2023-10-12 19:00:57 +02:00
Artem Inzhyyants
572e592a42 Source GitHub: add date-time format to fields (#31300)
Co-authored-by: artem1205 <artem1205@users.noreply.github.com>
2023-10-11 20:40:09 +02:00
Artem Inzhyyants
747f1528fa Source GitHub: migrate repo and branches to array in spec (#31056)
Co-authored-by: artem1205 <artem1205@users.noreply.github.com>
2023-10-04 23:14:52 +02:00
Artem Inzhyyants
a92ae4d39f 🐛 Source GItHub: Increase backoff for stream Contributor Activity (#31023) 2023-10-04 19:04:32 +02:00
Daryna Ishchenko
4e44cd03be Source Github: marked start date as optional field (#30971)
Co-authored-by: darynaishchenko <darynaishchenko@users.noreply.github.com>
2023-10-03 18:14:05 +03:00
Artem Inzhyyants
ce08bfd484 Source GitHub: add archived project cards (#30979)
Co-authored-by: artem1205 <artem1205@users.noreply.github.com>
2023-10-02 21:45:17 +02:00
Daryna Ishchenko
64edf61cb5 Source Github: updated user error messages (#30927) 2023-09-29 15:40:01 +03:00
Daryna Ishchenko
3c79da9ede Source GitHub: added Issue timeline events stream (#30823)
Co-authored-by: darynaishchenko <darynaishchenko@users.noreply.github.com>
2023-09-29 12:56:19 +03:00
Artem Inzhyyants
bc68d0a442 Source GitHub: ignore 204 error in stats response (#30824)
Co-authored-by: artem1205 <artem1205@users.noreply.github.com>
2023-09-28 17:49:53 +02:00
Artem Inzhyyants
61a63ec2ff Source GitHub: add stream ProjectsV2 (#30731)
Co-authored-by: artem1205 <artem1205@users.noreply.github.com>
2023-09-28 08:46:29 +02:00
Artem Inzhyyants
e763971bf1 Source GitHub: Skip 404 error in TeamMemberShips stream (#30693) 2023-09-25 19:56:36 +02:00
Artem Inzhyyants
32c08d73d5 Source GitHub: support self hosted instances (#30647)
Co-authored-by: artem1205 <artem1205@users.noreply.github.com>
Co-authored-by: Serhii Lazebnyi <53845333+lazebnyi@users.noreply.github.com>
2023-09-22 19:36:50 +02:00
Arsen Losenko
599ab7cfcd Source Github: rewrite source connection error messages (#30654)
Co-authored-by: Serhii Lazebnyi <53845333+lazebnyi@users.noreply.github.com>
2023-09-22 19:12:49 +03:00
Artem Inzhyyants
1c89aeaa5b Source GitHub: add new stream Contributor Activity (#30615)
Co-authored-by: artem1205 <artem1205@users.noreply.github.com>
2023-09-22 11:50:44 +02:00
Baz
3bc79be30a 🐛 Source Github, Instagram, Zendesk Support / Talk - revert spec changes and improve (#29031) 2023-08-03 15:06:35 +03:00
Baz
4e532ae8ed 🐛 Source Github, Instagram, Zendesk-support, Zendesk-talk: fix CAT tests fail on spec (#28910) 2023-08-03 08:51:12 +03:00
Arsen Losenko
9cd5ee701c 🐛 Source Github: update schema for Organizations stream (#28144)
* Source Github: update schema for Organizations stream

* Update changelog
2023-07-11 21:13:36 +03:00
Serhii Chvaliuk
df79780cb8 Source Github: deprecate "page size" input parameter (#25838)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2023-05-24 12:20:08 +03:00
Serhii Chvaliuk
627c49c8c5 Source Github: Repository field accept full URL (#25778)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2023-05-23 09:05:07 +03:00
Serhii Chvaliuk
30d8bb4133 Source Github: implement client-side throttling of requests (#25793)
Signed-off-by: Serhii Chvaliuk <grubberr@gmail.com>
2023-05-17 22:18:37 +03:00
Roman Yermilov [GL]
ce9eb8ab4c Source Github: better error explanation for 401 (#26025)
* Source Github: better error explanation for 401

* Source Github: bump version, update changelog

* Source Github: fix test name

* Source Github: fix unittests

* Source Github: bump version

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2023-05-16 22:35:22 +04:00
Daryna Ishchenko
05990806a1 🐛Source GitHub: added description for no repos case error (#26075)
* added description for no repos case error

* added AirbyteTracedException

* added changelog

* removed handling error in validation

* updated github.md

* added unit test test_streams_no_streams_available_error

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2023-05-16 18:07:20 +03:00
Serhii Chvaliuk
27c408e7fb Source Github: Add undeclared columns to spec (#24523)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2023-05-08 22:22:57 +03:00