Files
baserow/docs/decisions
Davide Silvestri d21801281f feat(agent): trigger agents when rows are created, updated or deleted (#6695)
* feat(agent): trigger agents when rows are created, updated or deleted

* test(agent): find the trigger picker by the class it now has

The trigger picker renders the shared service picker since the send
email actions, so its menu is under .agent-service-picker.

* fix(agent): check a trigger's access again before its conversation starts

The task that starts a firing's conversation trusted the access check made
when the event happened. A run identity removed, trashed or without access
by the time the task ran still got a conversation with the event's rows.

* fix(agent): apply the row trigger review fixes

- A type change moves an overlap rule left at the old type's default to
  the new type's default.
- Queued replies wait while the run identity can't read what the trigger
  watches.
- An imported formula is kept as written when no path is remapped,
  through one import_formula in core.
- Row events hand their listeners services holding the event's table.
- Trigger form choices no longer read the workspace's views.
- A first row too long for a message is cut short instead of left out.
- A no-access error for a type the card no longer shows is ignored.
- The dispatcher no longer clamps the batch size.

* fix(agent): keep the merged trigger behaviour and UI for row triggers

- Skipping stays the default overlap rule: only the row trigger types say
  their events can't be skipped, so HTTP and periodic triggers start as
  they did before.
- The workspace-access note is a plain alert and the batch size field is
  spaced like the hosted forms, without style overrides.
- The type-change and queued-firing tests are develop's again, with the
  row trigger tests added after them.
- ADR 014 names the hooks row triggers add to the shared service type.

* fix(agent): show a row trigger without workspace access as misconfigured

The trigger can't run until the agent has workspace access, so its card
gets the error icon with a tooltip and the database field shows the error,
instead of an info note.
2026-11-17 23:42:51 +01:00
..

Architecture decision records

This directory holds architecture decision records (ADRs): one file per significant technical decision, written so that someone joining later can see what was decided, why, and what was ruled out.

Write an ADR when a change affects more than one module or team, is hard to reverse, or picks between several reasonable designs. Small, local choices belong in the PR description instead.

Files and numbering

  • Name the file NNN-short-kebab-title.md, taking the next free number (numbers are never reused, even when a record is dropped).
  • Open a PR with the ADR in Proposed status so the discussion happens in review.
  • Once accepted, edit the record only to update its status or to link the record that supersedes it. A changed decision gets a new ADR.

Template

Copy the block below into a new file. Keep sections short; drop any optional section that has nothing to say.

# ADR NNN: Title stating the decision area

|              |                                            |
| ------------ | ------------------------------------------ |
| Status       | Proposed                                   |
| Date         | YYYY-MM-DD                                 |
| Issue        | https://github.com/baserow/baserow/issues/ |
| Author       | Name (@github-handle)                      |
| Contributors | Name (@github-handle)                      |

## Summary

Two or three sentences: the problem and the decision taken.

## Context

What exists today, the constraints, and what is in and out of scope. Define any terms
the rest of the record relies on, in a table if there are several.

## Decision

What we will do. Split into numbered subsections when the decision has several parts.

## Options considered (optional)

| Option | Why not |
| ------ | ------- |
|        |         |

Use a subsection per option with pros and cons instead when the trade-off needs more
than a line.

## Consequences

What becomes easier or harder, new costs and risks, and follow-up work.

## Revisit triggers (optional)

Conditions under which this decision should be reopened.

Status values

Status Meaning
Proposed Under discussion in a PR.
Accepted Agreed and being or already implemented.
Rejected Discussed and not adopted; kept for the record.
Superseded Replaced by a later ADR; link it, e.g. Superseded by ADR 012.