Skip to content

Fix bsky firehose - #1025

Open
evancheval wants to merge 15 commits into
masterfrom
fix-bsky-firehose
Open

Fix bsky firehose#1025
evancheval wants to merge 15 commits into
masterfrom
fix-bsky-firehose

Conversation

@evancheval

Copy link
Copy Markdown
Contributor

minet bsky firehose collect live Bluesky posts
Need this twitwi PR to be merged to actually work

@evancheval evancheval added the enhancement New feature or request label Dec 9, 2025
@evancheval
evancheval requested a review from boogheta January 12, 2026 09:23

@boogheta boogheta left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

one more reviewed!

Comment thread docs/cli.md Outdated
Comment thread docs/cli.md Outdated
Comment thread docs/cli.md Outdated
Comment thread docs/cli.md Outdated
Comment thread docs/cli.md Outdated


# Doesn't work when we need to do a full backup (because of storage saturation on a free railway account)
def subscribe_tap_railway(self, url: str, username: str = None, password: str = None) -> ClientConnection:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

pas compris où et pourquoi ce code est utilisé

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Il n'est pas utilisé en effet, mais la doc de Bluesky de Tap proposait d'utiliser un outil (Railway) pour éviter d'avoir exéctuer Tap localement. Je rajoute le lien de leur doc à ce sujet. Tu penses que je devrais faire sauter cette commande quand même ?

Comment thread minet/cli/bluesky/__init__.py Outdated
if cli_args.since:
cli_args.since = cli_args.since.replace(tzinfo=timezone.utc)
since_timestamp = int(cli_args.since.timestamp() * 1_000_000)
suffix += f"&cursor={since_timestamp}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Prévoir d'afficher un warning voire d'envoyer bouler l'user quand le since_timestamp est au delà de 24h?

@evancheval evancheval Feb 5, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

En fait Bluesky est pas sévère au sujet de ce curseur. Si jamais il remonte au delà de 24h c'est ignoré et capé à 24h en amont (ce qui est bien pratique quand tu veux récupérer tout ce qui date du dernier jour sans avoir à écrire l'heure etc, un simple --since 2000 suffit :)). Par contre ça peut valoir le coup de proposer ce tips dans la doc

Comment thread minet/cli/bluesky/firehose.py Outdated
Comment thread minet/cli/bluesky/firehose.py
@evancheval
evancheval requested a review from boogheta February 5, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants