Configure File Reaction#219
Merged
Merged
Conversation
Signed-off-by: Daniel Gerlag <daniel@gerlag.ca>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Drasi Server how-to guide documenting the File Reaction, which writes query result change events to the local/mounted filesystem with configurable templates and write/persistence modes.
Changes:
- Added a new documentation page describing File Reaction configuration, write modes, templating, and examples.
- Added a “File” card link to the “Configure Reactions” index page for discoverability.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| docs/content/drasi-server/how-to-guides/configuration/configure-reactions/configure-file-reaction/_index.md | New File Reaction documentation page (config reference, modes, templates, examples, links). |
| docs/content/drasi-server/how-to-guides/configuration/configure-reactions/_index.md | Adds File Reaction to the reactions landing page card grid. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+106
to
+114
| | Variable | ADD | UPDATE | DELETE | Description | | ||
| |----------|-----|--------|--------|-------------| | ||
| | `after` | ✅ | ✅ | ❌ | New/current state | | ||
| | `before` | ❌ | ✅ | ✅ | Previous state | | ||
| | `data` | ✅ | ✅ | ✅ | Alias: `after` for ADD/UPDATE, `before` for DELETE | | ||
| | `operation` | ✅ | ✅ | ✅ | `ADD`, `UPDATE`, or `DELETE` | | ||
| | `query_name` | ✅ | ✅ | ✅ | Name of the query that produced the result | | ||
| | `timestamp` | ✅ | ✅ | ✅ | Event timestamp | | ||
| | `uuid` | ✅ | ✅ | ✅ | Unique identifier for this change | |
| | `after` | ✅ | ✅ | ❌ | New/current state | | ||
| | `before` | ❌ | ✅ | ✅ | Previous state | | ||
| | `data` | ✅ | ✅ | ✅ | Alias: `after` for ADD/UPDATE, `before` for DELETE | | ||
| | `operation` | ✅ | ✅ | ✅ | `ADD`, `UPDATE`, or `DELETE` | |
Comment on lines
14
to
+20
| <div class="card-grid"> | ||
| <a href="configure-file-reaction/"> | ||
| <div class="unified-card unified-card--howto"> | ||
| <div class="unified-card-icon"><i class="fas fa-file-alt"></i></div> | ||
| <div class="unified-card-content"> | ||
| <h3 class="unified-card-title">File</h3> | ||
| <p class="unified-card-summary">Write query result diffs to the filesystem</p> |
agentofreality
approved these changes
Jun 3, 2026
ruokun-niu
approved these changes
Jun 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add documentation for the File Reaction feature, which allows writing query result diffs to local or mounted filesystem paths. This includes configuration examples and details on file persistence strategies.