Bug reports
Bug reporting gives everyone in your workspace one way to raise a problem with Fontana. Each report has the same layout, carries context the server fills in, and is posted to a Slack channel you choose. Reporting is off until an admin sets it up under Admin → Troubleshooting.
Three ways a report is raised
Section titled “Three ways a report is raised”- Agents and Fontana MCP clients: while reporting is on, every agent and every Fontana MCP connection holds the
system_reportBugtool. An agent calls it when a tool fails with a server error, when a result contradicts the documented behaviour, or when you describe a broken page. The tool answers with the Slack link of the report. - Report a bug in the Support menu: the Support icon at the bottom of the left sidebar opens a menu with Docs and Report a bug. Report a bug opens a new chat with the bug-report agent, with the page, workspace, workflow, Flow version and the last error already filled in. You add what went wrong and send; the agent asks at most one follow-up question and files the report. This entry needs an AI model, because it is a chat.
- Automatic crash reports: when Flow hits an error on a page (a script error, an unhandled promise rejection, or a screen that fails to render) for a signed-in person, it files a report without asking. Each error is sent once per page load, and automatic reports from one person are rate limited. Errors before sign-in are not reported.
Set it up
Section titled “Set it up”- Create a Slack app in your Slack workspace with a bot token (
xoxb-…) that has thechat:writescope, and install it. - Invite the bot to the channel that should receive reports, and copy the channel id (for example
C0123456789) from the channel details. - Open Admin → Troubleshooting (needs
platform:write). Set the bot token and the channel id. After you save the token, the page shows only whether a token is set; the value is stored in Vault and never shown again. - Send a test report with Send test report. A message in the channel confirms the token and the channel work.
- Turn bug reporting on. Fontana refuses to turn it on while the token or the channel is missing.
The same page has three more switches, all tenant-wide:
| Setting | Default | What it does |
|---|---|---|
| Report a bug in the Support menu | On | Shows the Support menu entry while reporting is on |
| Automatic crash reports | On | Files a report for a crash a signed-in person hits |
| Attach tool call details | Off | When an agent reports a failed tool call, include that call’s arguments and result (see below) |
What a report contains
Section titled “What a report contains”- What the reporter wrote: a title, what happened, what was expected, steps to reproduce, and a severity (low, medium, high or critical).
- Context, where the source has it: your workspace host and site URL, the source (App for a crash, Support button, MCP or Agent), when it was reported, the person, the agent, the conversation and the tool call id, all filled in by the server. Where the problem happened comes from the person’s browser: an automatic report carries the page and the Flow version; a Support menu report carries the page, workspace, workflow and Flow version, which the bug-report agent copies from the context the entry filled in.
- For an error: the error message and the stack trace.
A report over the Fontana MCP has no conversation, so it carries the person, the agent and the tool call id, and no conversation link.
A report never carries chat messages or data rows. Known secret values and strings shaped like credentials (API keys, bearer tokens, JSON Web Tokens, private keys, passwords in URLs) are masked before the report is stored or posted. The Slack message escapes everything a reporter wrote, so a report cannot mention a channel, @here or a user group.
How repeats are grouped
Section titled “How repeats are grouped”Each report has a fingerprint taken from its content: for a crash, the error message and the top stack frame; for an agent or Support menu report, the failing tool and its error, or otherwise the title. One fingerprint on one day (UTC) is one group.
- The first report of a group is one line in the channel, with its severity, title, source and workspace host, for example
:bug: [HIGH] Saving a workflow fails · Agent · acme.example.com. The full report is the first reply in that line’s thread: the envelope from the system (source, date, severity, workspace host, site URL, Flow version, person and link) and the user context (agent, workspace, workflow, conversation and tool call) as code blocks, then the report exactly as the reporter wrote it, with its own formatting, and any error and stack. The agent that filed it gets the channel and thread back, so it can add screenshots or more detail there instead of posting the bug again. The channel stays easy to read. - A repeat is a reply in that post’s thread and raises the group’s count.
- A group takes at most ten replies a day. After that, the reporter still gets the link and nothing more is posted.
- When two identical reports arrive at the same moment, exactly one opens the post.
If the Slack post of a group fails, the report is kept with the error and is not sent again. Repeats of that group are refused for the rest of the day; delete the report to let the next one post.
Where reports are stored
Section titled “Where reports are stored”Reports live in Fontana Files, in an admin-only namespace named bug-reports, one file per group: <yyyy-mm-dd>/<fingerprint>.yaml. The file holds the report, its context, its count, and the Slack thread once posted, or the post error. The namespace carries no grant: only Fontana Files administrators (files:admin) can open it.
Admin → Troubleshooting lists the stored reports, newest first, with title, severity, source, status, count, and when each was last and first seen. Sort, filter and group them, or switch to a board or another view, as in any table. Open a report to read all of it: what happened, expected, steps, the error and its stack, the failing tool, its context, and the Slack link or the post error. Select one or several reports and delete them to remove their files. The Slack posts stay. When you delete today’s report of a problem, its next repeat opens a new Slack post.
Every settings change and every delete is recorded in Activity.
Related documentation
Section titled “Related documentation”- Roles and RBAC:
platform:writeandfiles:admin - Tools and MCP: the tools agents hold
- Operational telemetry: browser errors in Grafana and Loki