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

AirbyteLib: Improved progress print, especially in the terminal #34973

Merged
merged 8 commits into from
Feb 7, 2024

Conversation

aaronsteers
Copy link
Collaborator

@aaronsteers aaronsteers commented Feb 7, 2024

This solves some problems with the rich live view, and takes a more formal approach to (1) selecting the best redering option, and (2) creating the "live view" rendering elements only when they are needed.

This also adds friendly prints where otherwise we didn't give any feedback to the user about what was happening.

Lastly, I've updated the "run_github.py" to use a reasonably sized repo, and it runs now in <1 minute.

(Set to auto-merge on approval and passing tests.)

Copy link

vercel bot commented Feb 7, 2024

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

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 6:42pm

@aaronsteers aaronsteers marked this pull request as ready for review February 7, 2024 18:39
@aaronsteers aaronsteers enabled auto-merge (squash) February 7, 2024 18:40
@aaronsteers aaronsteers changed the title Improved progress print, especially in the terminal AirbyteLib: Improved progress print, especially in the terminal Feb 7, 2024
Copy link
Contributor

@bindipankhudi bindipankhudi left a comment

Choose a reason for hiding this comment

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

Logic all looks good to me.


# This is a dummy secret, just to test functionality.
DUMMY_SECRET = ab.get_secret("DUMMY_SECRET")
Copy link
Contributor

Choose a reason for hiding this comment

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

this does not seem to be used anywhere.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, that's correct. It's literally just there to make sure our progress printer isn't conflicting with our ability to take input from the user, which was previously an issue.

@aaronsteers aaronsteers merged commit e06243b into master Feb 7, 2024
22 checks passed
@aaronsteers aaronsteers deleted the aj/airbyte-lib/improve-progress-messaging branch February 7, 2024 19:15
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 21, 2024
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants