Closed meritmalling closed 2 months ago
The changes in this update enhance the flexibility of deploying and updating agents in the system, focusing on managing multiple agents within the same environment to prevent conflicts and streamline event handling.
File Path | Change Summary |
---|---|
developer-tools/deploying.mdx |
Introduces redeployment with specified slugs to manage multiple agents, enhancing deployment flexibility. |
orchestration/listeners.mdx |
Refines event handling descriptions and instructions, emphasizing configurability and conflict avoidance strategies for multiple agents. |
deploying.mdx
could be relevant for integrating new automated processes.orchestration/listeners.mdx (45)
Near line 9: Possible spelling mistake found. Context: ...istener? Listeners are the core of the Flatfile Platform. All of your configurations, f... --- Near line 9: Possible spelling mistake found. Context: ...tener. They hold the logic backing your Flatfile Spaces, defining the functionality of y... --- Near line 14: Possible spelling mistake found. Context: ...f an Event. ## An Event-Driven System Flatfile is an event-driven system, meaning inte... --- Near line 15: Possible spelling mistake found. Context: ...riven system, meaning interactions with Flatfile (clicking a button, editing a record, u... --- Near line 15: In American English, abbreviations like “etc.” require a period. Context: ...on, editing a record, uploading a file, etc) trigger the publication of an [Event](... --- Near line 19: Possible typo: you repeated a whitespace Context: ... and optionally, a payload. | Component | Description ... --- Near line 19: Possible typo: you repeated a whitespace Context: ...oad. | Component | Description | Example ... --- Near line 19: Possible typo: you repeated a whitespace Context: ... | Example | | ------------------ | ---------------... --- Near line 21: Possible typo: you repeated a whitespace Context: ...----------------------------- | | Domain | the jurisdiction of the event ... --- Near line 21: Possible typo: you repeated a whitespace Context: ... | the jurisdiction of the event | record, sheet, workbook, space, file, ... --- Near line 21: Possible typo: you repeated a whitespace Context: ...sheet, workbook, space, file, job, agent | | Topic | a combination o... --- Near line 22: Possible typo: you repeated a whitespace Context: ..., job, agent | | Topic | a combination of a domain and an actio... --- Near line 22: Possible typo: you repeated a whitespace Context: ... a combination of a domain and an action | `workbook:created` `workbook:updated` ... --- Near line 22: Possible typo: you repeated a whitespace Context: ...d` `workbook:updated` `workbook:deleted` | | Context | detailed inform... --- Near line 23: Possible typo: you repeated a whitespace Context: ...`workbook:deleted` | | Context | detailed information about context of ... --- Near line 23: Possible typo: you repeated a whitespace Context: ...d information about context of the event |`{ spaceId: "us_sp_1234", fileId:... --- Near line 23: Don’t put a space before the closing parenthesis. Context: ...ormation about context of the event || | Payload (optional) | detailed inform... --- Near line 24: Don’t put a space before the closing parenthesis. Context: ...ormation about execution of the event |`{ spaceId: "us_sp_1234", fileId: "us_fl_1234", ... }`| | Payload (optional) | detail... --- Near line 23: Possible typo: you repeated a whitespace Context: ...234", fileId: "us_fl_1234", ... }``{ status: "complete", workbookId: "us_wb_1234", ... }`| # Anatomy of a Listener A Li... --- Near line 58: The words ‘to are’ do not usually occur together. Consider replacing them with one of the suggestions. Context: ...but the Events that a Listener responds to are configurable. You can target which even... --- Near line 156: Possible spelling mistake found. Context: ...d everywhere from your local machine to Flatfile's secure cloud. The location of your li... --- Near line 158: Possible typo: you repeated a whitespace Context: ... the type of listener it is. | Listener | Location | Description ... --- Near line 158: Possible typo: you repeated a whitespace Context: ...istener it is. | Listener | Location | Description |... --- Near line 158: Possible typo: you repeated a whitespace Context: ... | Location | Description | | ----------- | --------------------- ... --- Near line 160: Possible typo: you repeated a whitespace Context: ...---- | | development | developer machine | local listener for development |... --- Near line 160: Possible typo: you repeated a whitespace Context: ...ine | local listener for development | | client-side | user machine ... --- Near line 161: Possible typo: you repeated a whitespace Context: ...ent | | client-side | user machine | browser embedded listener |... --- Near line 161: Possible typo: you repeated a whitespace Context: ...ine | browser embedded listener | | Agent | Flatfile secure cloud ... --- Near line 162: Possible typo: you repeated a whitespace Context: ...r embedded listener | | Agent | Flatfile secure cloud | Flatfile hoste... --- Near line 162: Possible spelling mistake found. Context: ...d listener | | Agent | Flatfile secure cloud | Flatfile hosted server-s... --- Near line 162: Possible spelling mistake found. Context: ...| Agent | Flatfile secure cloud | Flatfile hosted server-side listener | | server-... --- Near line 163: Possible typo: you repeated a whitespace Context: ...ner | | server-side | your secure server | self-hosted server-side listener |... --- Near line 163: Possible typo: you repeated a whitespace Context: ...er | self-hosted server-side listener | Flatfile Listeners can be either clie... --- Near line 164: Possible spelling mistake found. Context: ...self-hosted server-side listener | Flatfile Listeners can be either client-side or ... --- Near line 169: Please check whether ‘were’ (second-person singular simple past of ‘be’, e.g. ‘you were’) might be the correct word here instead of ‘where’ (at what place, e.g. ‘Where are you?’). Context: ...nt page URL. Server-side listeners run where deployed, either on your own servers or... --- Near line 169: Possible spelling mistake found. Context: ...loyed, either on your own servers or on Flatfile's secure cloud, and can perform more co... --- Near line 175: Possible spelling mistake found. Context: ... of a server environment. ## Agent In Flatfile, an Agent refers to a server-side liste... --- Near line 175: Possible spelling mistake found. Context: ...r-side listener bundled and deployed to Flatfile to be hosted in our secure cloud. You ... --- Near line 195: After the expression ‘for example’ a comma is usually used. Context: ... listener is configured to act on. For example if your listener code only listens to `... --- Near line 207: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short). Context: ...ame Environment. If no slug is provided and you already have a single Agent deploye... --- Near line 209: A comma might be missing here. Context: ... to the same environment and no slug is provided the CLI will prompt you to select which... --- Near line 211: Possible spelling mistake found. Context: ...ke to update. Please see [Deploying to Flatfile](/developer-tools/deploying) for more i... --- Near line 216: Possible spelling mistake found. Context: ...g an Agent. ## Agent Logs When using Flatfile's secure cloud to host your listener, y... --- Near line 224: Consider removing ‘would’. (Usually, ‘would’ does not occur in a conditional clause, unless to make a request or give a polite order.) Context: ... will not be marked as failures. If you would prefer to see them marked this way, re-throw y... --- Near line 257: Possible spelling mistake found. Context: ...p> ## Learn More Learn more about the Flatfile Platform in our other concept guides: ...
orchestration/listeners.mdx (3)
`55-61`: > :memo: **NOTE** > This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [58-134] The updates to event filtering and the use of namespaces are well-explained and demonstrated with clear examples. --- `175-210`: The section on managing multiple agents provides essential strategies for conflict avoidance and effective deployment, which are crucial for maintaining system integrity when scaling. --- `195-211`: The deployment instructions are comprehensive and include important details for managing multiple agents, enhancing the deployment flexibility as intended by the PR.
Summary by CodeRabbit