Dandelion is a fair source project. View the code on Github · See the design guide
Commits on Oct 10, 2026
| 128aef5 |
Show only the amounts of the contribution tiers on mobile Below the sm breakpoint the tier names (Seed, Butterfly, Bee) are hidden and the amount buttons get their own rounded corners, so the three tiers fit on one line on any phone. Claude-Session: https://claude.ai/code/session_012hDERxTJg8qUq2VjyAuEmM |
| 92d543f |
Make the /stats/traces transaction filter full width on phones, like the fields below it Claude-Session: https://claude.ai/code/session_01RyVfUo9eFHbc5z3TvT3PE4 |
| dccef44 |
Keep the /stats/transactions filter on one line on phones .form-inline stacks every field on phones; this form is short enough to sit in a row. Claude-Session: https://claude.ai/code/session_01RyVfUo9eFHbc5z3TvT3PE4 |
| 02645fa |
Put the Delete old traces form on /stats/traces on one line (label, commit and Delete button in a wrapping flex row with gap-2), and give the Delete old traces link a bit more space above it, as the filter form now always keeps its mb-3. The link and form also show in development, whatever the number of releases, so they can be tried there. |
| 99cc761 |
Reload the events on a page of /search results with their key associations (Event.with_key_includes, kept in search order with in_id_order), so cards missing from the fragment cache don't each query their organisation, tags, facilitators and cohosts. Search results are built straight from the Atlas aggregation, so had none of these loaded: a vector search page with 13 uncached cards spent 661ms of its 1.4s rendering them, in 163 queries. Vector search finds a wider spread of events than text search, so more of them miss the cache. |
| a4c4bf2 |
Leave the /stats pages out of /stats/transactions, as they're only ever visited by admins and their timings aren't of interest beside the rest of the app's. Summaries whose name is a method followed by /stats are dropped after the aggregation, so the hinted summary index is still used. The Search table, which groups by pipeline rather than transaction, is unchanged. |
| aeb40cb |
Remove the old gemini-embedding-001 embedding field, now that events are re-embedded with voyage-4-large in voyage_embedding and the old vectors have been unset in production and their vector_index dropped. Event queries no longer leave it out, and search results no longer unset it. |
| eee6693 |
Embed events and search queries with voyage-4-large (via OpenRouter, at 1024 dimensions) rather than gemini-embedding-001. Gemini took over a second to embed a query about half the time, past the 1s timeout, so many searches ran as plain text; voyage-4-large takes around 400ms and retrieves better (RTEB 71.4 against about 68.8), at a third of the dimensions, so the exact vector scan over the ~1k searchable events reads about 4MB rather than 13MB. OpenRouter.embedding now passes dimensions and input_type (search_query for searches, search_document for events, which Voyage embeds differently), with the model and dimensions in OpenRouter::EMBEDDING_DEFAULTS. Embeddings go in a new voyage_embedding field searched through voyage_vector_index (Searchable::EMBEDDING_FIELD and VECTOR_INDEX), leaving the old embedding field and vector_index in place until events are re-embedded; both fields are left out of event queries. The Atlas index needs creating before this deploys, and events from a week ago onwards re-embedding afterwards. |
| b57e8c8 |
Add to the rules for unique indexes in AGENTS.md: a validation that doesn't allow nil, on a field every document has, takes a plain unique index with no filter, which serves lookups itself; and don't add a $type condition to a validation to make it use a filtered index. Claude-Session: https://claude.ai/code/session_01XHAUo5YJPe4mT7aL42xV9z |
| 860b5c1 |
Remove the db:uniqueness_indexes rake task, and add the rules for unique indexes to AGENTS.md. The task backed allow_nil uniqueness validations with indexes filtered on $type, and dropped the plain index on the same field when it built one (slug_1 became slug_1_unique on events). The planner can't use a $type-filtered index for a plain { field: x } query, and both unscoped lookups and validates_uniqueness_of itself run one, so the GET /e/:slug/edit slug lookup and the uniqueness checks on orders' payment fields scanned whole collections. Production was fixed by hand, with a plain index beside each $type-filtered unique index and the token_1_exists indexes rebuilt on $type, so every unique index on an allow_nil field is filtered the same way ($exists treats explicit nulls as duplicates). AGENTS.md now says to filter on $type, never $exists, to keep a plain index beside each such unique index, and never to drop one when adding a filtered unique index. |
| ee97673 |
Break down Atlas Search time by pipeline (text, vector, or text_fallback when the vector search timed out) in a Search table at the foot of /stats/transactions, like Sentry's search.pipeline breakdown. Each trace now saves the pipeline and time of its search.query spans as search_spans, as the spans themselves are compressed and can't be read in Mongo; Trace.search_summary unwinds them. The table shows every search whatever the page's filter, and its rows don't link anywhere. Transaction sections and the Search table share a stats/_transactions_table partial, and Trace.summary and search_summary share their count, total and percentile fields (duration_stats). Traces saved before this have no search_spans, so the table fills as new ones arrive. An index on search_spans.pipeline ({ 'search_spans.pipeline': 1 }) means only traces with a search are read; it isn't hinted, so the page works without it. Claude-Session: https://claude.ai/code/session_01XHAUo5YJPe4mT7aL42xV9z |
| f9d428b |
Call the section of /stats/transactions for HTTP methods other than GET and POST (HEAD, PUT, DELETE and the like) Other HTTP rather than Other, as Jobs aren't HTTP at all. Claude-Session: https://claude.ai/code/session_01XHAUo5YJPe4mT7aL42xV9z |
| ff4565e |
Close up the space between the filter form and the Delete old traces link on /stats/traces: the form drops its own bottom margin when the link follows it, since on phones the Search button already has one. Claude-Session: https://claude.ai/code/session_01XHAUo5YJPe4mT7aL42xV9z |
| 1c08507 |
Open the delete-old-traces form on /stats/traces from a small Delete old traces link under the filter form, which gives way to the form, rather than from a button beside the heading. Claude-Session: https://claude.ai/code/session_01XHAUo5YJPe4mT7aL42xV9z |
| f27b892 |
Move the delete-old-traces form on /stats/traces to the top, behind a Delete old traces button beside the heading. The form was at the foot of the list and laid out as a filter form, so on phones its label took the row and the Delete button sat off to the side of the select; now the label sits above the select and the button sits beside it. Claude-Session: https://claude.ai/code/session_01XHAUo5YJPe4mT7aL42xV9z |
| 306ea47 |
Tidy the trace stats code. Traces no longer save op or trace_id, and Trace.summary no longer computes avg_ms: nothing read them since the per-transaction page went. The summary names the maximum p100_ms rather than max_ms, so the transactions page reads each percentile as summary[:"#{percentile}_ms"] rather than mapping names to keys in two places. Commit links share commit_url and commit_link helpers rather than building the GitHub URL in three views, and running_commit_time is now commit_time (its cache COMMIT_TIMES), as it looks up any commit for the delete-traces form, not just the running one. |
| 3c7c0fc |
Name each section of /stats/transactions (GET, POST, XHR, Jobs, Other) in its table's first column header, in place of "Transaction", rather than in a heading above the table. The heading sat apart from its table, past DataTables' spacing, and competed with the bold column headers, so the sections were hard to pick out. A section with more than 10 transactions says "10 of N" beside its name. |
| 6529c2d |
Delete old traces from /stats/traces: pick a release and every trace saved by a commit before it is deleted, so stats can start from a fix without waiting a day for the TTL. Releases are ordered by commit time (running_commit_time) rather than when their traces first arrived, as deploys overlap. Listing the releases needs an index on release ({ release: 1 }) so it doesn't scan every trace. |
| 42f3884 |
Index trace summaries on { name, xhr, duration_ms: -1 } rather than { name, xhr, created_at: -1, duration_ms }. created_at was there for the 3-hour span tree window, which went with the per-transaction page. The summary is still covered, and the new order also serves a transaction's traces sorted by duration on /stats/traces (the default, and how /stats/transactions links to them), so Mongo reads only the page of traces it shows rather than loading every one of that transaction's traces, spans and all, to sort them in memory. The index is hinted, so it must exist before this deploys; the old one can be dropped after. |
| 24f7f72 |
Show a failed trace's status badge beside its name on /stats/traces at every width, as it already was on phones, in place of the Status column. |