Answers from your codebase, right in Slack

Mention @Cyrus in any thread. It answers from your code and follows up with a fix or an issue.

←  →  ◷Search Acme?
# eng-support ⌄M24
MessagesCanvasFiles
Yesterday ⌄
P
Priya Nair2:14 PM
@Cyrus where do we set the session timeout for the dashboard?
2 repliesLast reply yesterday at 2:20 PM
S
Sam Okafor4:47 PM
Staging is back up after the database migration. Thanks for your patience, everyone.
If anything looks off, drop it in this channel.
Today ⌄
Connor9:12 AM
Reminder: on-call handoff moves to Thursdays starting next week.
S
Sam Okafor9:58 AM
@here web 2.41 is out. Release notes are in #product.
M
Maya Chen10:31 AM
@Cyrus customers say signup confirmation emails are arriving 10+ minutes late since yesterday. Can you take a look?
👀 1🙏 2
M3 repliesLast reply today at 10:38 AM
B I S 🔗 ≔ </>
Message #eng-support
+  Aa  ☺  @➤

Grounded in your actual code

Cyrus answers from the repository and the tools you connect through MCP, like logs, error tracking, and your database. It does not answer from general knowledge.

S
Sam Okafor2:14 PM
@Cyrus what happens to a team’s projects when their trial ends?
CyrusAPP2:15 PM

Nothing is deleted. expireTrials runs nightly and sets the workspace to read_only. Projects stay viewable, and editing is blocked until they subscribe.

Data is only removed 90 days later by purgeInactiveWorkspaces, after two warning emails.

Catches up on the whole thread

Mention Cyrus mid-conversation and it reads everything said since its last reply, so nobody has to restate the problem.

P
Priya Nair11:02 AM
Export to CSV is timing out for Northwind again.
S
Sam Okafor11:05 AM
They have ~400k rows now. Worked fine last month.
P
Priya Nair11:07 AM
@Cyrus can you dig in?
CyrusAPP11:11 AM
The export builds the whole file in memory before responding, so at 400k rows it passes the 30s gateway timeout. Streaming the rows fixes it. Want me to open a PR?

Turns answers into work

When the answer is a fix, Cyrus opens the pull request. When it needs planning, it files the issue in Linear and links it in the thread.

CyrusAPP11:24 AM

Done. Exports now stream in batches of 5,000 rows.

GitHub
Stream CSV exports instead of buffering #1307
Export memory stays flat; 400k-row export completes in 11s.
acme/api1 commit+54 −21Checks passing
Linear
Add pagination to the export API
Follow-up for API clients that request full exports.
ENG-523BacklogEngineering

How Cyrus does it

  1. Add Cyrus to Slack

    Choose the channels and people who can talk to it.

  2. Mention @Cyrus

    Ask in any thread, in Slack, Zulip, or a Linear comment.

  3. Cyrus investigates

    It reads the thread, the code, and connected tools.

  4. It answers, then follows through

    It replies in the thread and opens a PR or issue when one is needed.

More automations

Security patching Dependency advisories become tested pull requests.

E Engineering › ENG-482☆  ···‹  3 / 14  ›

Patch high-severity axios advisory

Dependabot alert #37 on acme/web: axios before 1.21.0 can forward credentials across cross-origin redirects. Severity: High.

ActivityUnsubscribe
DDependabot created the issue via GitHub14m ago
Security patching automation delegated to Cyrus14m ago
CyrusAgent2m agoCompleted
axios is a direct dependency of web and a transitive one through @acme/sdk.
Ran pnpm up axios@1.21.0 -r
Ran pnpm audit --prod0 vulnerabilities
Ran pnpm test312 passed
Opened acme/web#1294

Upgraded axios to 1.21.0 in web and @acme/sdk and refreshed the lockfile. The audit is clean and all 312 tests pass.

No code changes were needed. Ready for review in acme/web#1294.

Code review A careful first review on every pull request.

Add exponential backoff to email worker by mchen×
github.com/acme/api/pull/1291
acme / apiType / to search

Add exponential backoff to email worker #1291

Openmchen wants to merge 2 commits into main from mchen/email-backoff
Conversation3Commits2Checks4Files changed2
cyrusagent bot reviewed 4 minutes ago
⌄src/workers/email.ts+9 −2
4141 } catch (err) {
42- await sleep(5 * 60_000);
42+ const delay = Math.min(2 ** job.attempt * 1000, 120_000);
43+ await sleep(delay);
cyrusagentbot4 minutes ago
Resend sends a Retry-After header on 429s. Prefer it when present so we don’t retry before the window resets:
Suggested change
- const delay = Math.min(2 ** job.attempt * 1000, 120_000);
+ const delay = retryAfterMs(err) ?? Math.min(2 ** job.attempt * 1000, 120_000);
Commit suggestion
cyrusagent approved these changes just now

Bug fixes Delegate a bug and get back a tested fix.

E Engineering › ENG-517☆  ···‹  3 / 14  ›

Discount codes apply twice when the cart is edited

Reported by two customers today. Apply a code, change a quantity, and the discount is subtracted a second time at checkout.

ActivityUnsubscribe
PPriya Nair delegated to Cyrus31m ago
CyrusAgent6m agoCompleted
Quantity changes re-run applyDiscount on an already-discounted total.
Added cart.test.ts › keeps one discount after editfails as reported
Edited src/cart/pricing.ts
Ran pnpm test cart48 passed
Opened acme/web#1302

Root cause: recalculate() applied the discount to the discounted subtotal instead of the original. The fix computes from line items every time. A regression test is included in acme/web#1302.

Approvals Routine fixes and security patches approved fast, by your code owners.

Bump axios to 1.21.0 by cyrusagent×
github.com/acme/web/pull/1294
acme / webType / to search

Bump axios to 1.21.0 #1294

Opencyrusagent wants to merge 1 commit into main from cyrus/eng-482-patch-axios
Conversation3Commits1Checks4Files changed2
cyrusagentbotcommented 2 minutes agoContributor···
Change riskLow 12
2 filesLockfile and package.json only312 tests pass
Risk of waitingHigh 81
High-severity advisoryCredentials exposed on redirectFix available

Pre-cleared by @mchen for dependency patches in web/. Requesting her approval.

M
mchen approved these changes Pre-cleared via Cyrusjust now
Changes approved
1 approving review by mchen
All checks have passed
4 successful checks
No conflicts with base branch
Merging can be performed automatically.
Merge pull request ▾You can also merge this with the command line.

Stop answering the same questions by hand

Start a 7-day free trial on Pro or Team. Setup takes minutes.