ZIm/crates/collab/src
Antonio Scandurra 499e1459eb
Fix crash in collab when sending worktree updates (#19678)
This pull request does a couple of things:

- In 29c2df73e1, we introduced a safety
guard that prevents this crash from happening again in the future by
returning an error instead of panicking when the payload is too large.
- In 3e7a2e5c30, we introduced chunking
for updates coming from SSH servers (previously, we were sending the
whole changeset and initial set of paths in their entirety).
- In 122b5b4, we introduced a panic hook that sends panics to Axiom.

For posterity, this is how we figured out what the panic was:

```
kubectl logs current-pod-name --previous --namespace=production
```

Release Notes:

- N/A

---------

Co-authored-by: Thorsten <thorsten@zed.dev>
Co-authored-by: Bennet <bennet@zed.dev>
Co-authored-by: Kirill <kirill@zed.dev>
2024-10-24 15:57:24 +02:00
..
api collab: Return free tier usage from GET /billing/monthly_spend (#19578) 2024-10-22 18:06:54 -04:00
bin Fix .env.toml paths (#15645) 2024-08-01 15:43:29 -04:00
db Fix crash in collab when sending worktree updates (#19678) 2024-10-24 15:57:24 +02:00
llm collab: Add support for a custom monthly allowance for LLM usage (#19525) 2024-10-21 17:12:33 -04:00
rpc Remove old project search code path, bump min-supported zed version for collaboration (#18404) 2024-09-26 12:10:39 -07:00
tests Support .editorconfig (#19455) 2024-10-21 13:05:30 +03:00
api.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
auth.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
cents.rs Subtract FREE_TIER_MONTHLY_SPENDING_LIMIT from reported monthly spend (#19358) 2024-10-17 13:09:50 +02:00
clickhouse.rs collab: Fix writing LLM rate limit events to Clickhouse (#16367) 2024-08-16 14:03:34 -04:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs collab: Add billing preferences for maximum LLM monthly spend (#18948) 2024-10-09 16:29:07 -04:00
env.rs collab: Add support for reading boolean values from .env.toml (#16317) 2024-08-15 17:07:17 -04:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
lib.rs collab: Unconditionally execute billing checks (#19432) 2024-10-18 15:55:28 -04:00
llm.rs collab: Add support for a custom monthly allowance for LLM usage (#19525) 2024-10-21 17:12:33 -04:00
main.rs Fix crash in collab when sending worktree updates (#19678) 2024-10-24 15:57:24 +02:00
migrations.rs collab: Remove unused parameter to run_database_migrations (#15883) 2024-08-06 17:31:52 -04:00
rate_limiter.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
rpc.rs Fix crash in collab when sending worktree updates (#19678) 2024-10-24 15:57:24 +02:00
seed.rs collab: Seed GitHub users from static data (#18301) 2024-09-24 16:35:09 -04:00
stripe_billing.rs collab: Anchor new subscription's billing cycle to the first of the month (#19367) 2024-10-17 10:18:12 -04:00
tests.rs Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
user_backfiller.rs collab: Require github_user_created_at at ingress points (#17180) 2024-08-30 17:09:59 -04:00