Skip to content

Add a docs page for the human-in-the-loop example project #1919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

myftija
Copy link
Collaborator

@myftija myftija commented Apr 12, 2025

This PR adds a docs page for the human-in-the-loop example projects showcasing the new waitpoint tokens.

Summary by CodeRabbit

  • Documentation
    • Expanded example content with a new human-in-the-loop workflow project that demonstrates the creation of audio summaries.
    • Enhanced the project listing in the guides to seamlessly integrate the new example.
    • Added a detailed guide for the human-in-the-loop workflow utilizing ReactFlow and Trigger.dev.
    • Reorganized existing project entries for improved clarity and accessibility.

Copy link

changeset-bot bot commented Apr 12, 2025

⚠️ No Changeset found

Latest commit: 19d2497

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

coderabbitai bot commented Apr 12, 2025

Walkthrough

This update enhances the documentation by adding a new example project focused on a human-in-the-loop workflow. The project utilizes ReactFlow and Trigger.dev waitpoint tokens for generating audio summaries of newspaper articles. The changes include the introduction of a new documentation file detailing this workflow, as well as updates to the introduction section to include the new project in the example projects table.

Changes

File(s) Summary
docs/docs.json Added a new page entry for the human-in-the-loop workflow under the "Example projects" group in the "Guides & examples" section. Removed entries for the previous projects and repositioned existing ones.
docs/guides/example-projects/human-in-the-loop-workflow.mdx Created a new documentation file outlining the human-in-the-loop workflow, detailing technologies and tasks involved.
docs/guides/introduction.mdx Updated the introduction to include the new project in the example projects table and modified the order of existing projects.

Possibly related PRs

  • Added Python crawling example  #1786: Related to the addition of a new entry for the "human-in-the-loop workflow" in the docs/docs.json file, focusing on a similar structure.
  • fal AI example docs #1439: Introduces the "human-in-the-loop workflow" example project, which is also referenced in the updates to the introduction documentation.
  • Webhook guides #1396: Connects to the addition of the new example project and references updates in both the introduction and guides sections.

Suggested reviewers

  • ericallam

Poem

Hop, hop, I am here to say,
New docs and workflows brighten the day. 🐇
Tokens and tasks in a clever dance,
Real-time updates give code a chance.
I nibble on changes with delight,
Cheery hops into the future so bright!
New paths, new hops—the code’s just right!

Tip

⚡💬 Agentic Chat (Pro Plan, General Availability)
  • We're introducing multi-step agentic chat in review comments and issue comments, within and outside of PR's. This feature enhances review and issue discussions with the CodeRabbit agentic chat by enabling advanced interactions, including the ability to create pull requests directly from comments and add commits to existing pull requests.

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6ba6786 and 19d2497.

📒 Files selected for processing (2)
  • docs/docs.json (1 hunks)
  • docs/guides/introduction.mdx (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/docs.json
🧰 Additional context used
🪛 LanguageTool
docs/guides/introduction.mdx

[uncategorized] ~37-~37: ‘In’ is unnecessary in most cases before the expression ‘next .’.
Context: ... | Trigger tasks from a webhook in Next.js | | [Us...

(CONFUSION_OF_NN_IN_NEXT_NNP)

🔇 Additional comments (5)
docs/guides/introduction.mdx (5)

25-25: Guide Entry Update: "AI Agent: Generate and translate copy"
This table row update appears correct. It fits the intended function and—based on previous feedback—contributes to maintaining the alphabetical order of guide entries. Please double-check that the link (/guides/ai-agents/generate-translate-copy) and description accurately reflect the guide’s content.


32-32: Guide Entry Verification: "Python web crawler"
This updated row’s link (/guides/python/python-crawl4ai) and description look appropriate. Please verify that the content and context match the intended guide documentation.


34-34: Guide Entry Validation: "Stripe webhooks"
This entry update appears consistent with the section’s style and alphabetical order. Ensure that the link (/guides/examples/stripe-webhook) and accompanying description are accurate.


36-36: Guide Entry Check: "Supabase edge function hello world"
The modified entry is correctly formatted and uses the expected URL (/guides/frameworks/supabase-edge-functions-basic). Please confirm consistency in terminology and styling with the other guide entries.


72-72: Example Task Entry Review: "React to PDF"
This task entry is correctly updated and formatted. The description effectively conveys that it uses react-pdf to generate a PDF and save it to Cloudflare R2.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (3)
docs/guides/introduction.mdx (1)

44-54: New Example Project Row Added
The "Human-in-the-loop workflow" row has been added correctly with a comprehensive description and valid GitHub link. Please review the text for minor typos (e.g. “encorporate” should be “incorporate”) to ensure consistency.

docs/guides/example-projects/human-in-the-loop-workflow.mdx (2)

9-11: Optional Grammar Refinement
Consider hyphenating the compound adjective in the sentence "This demo is a full stack example…" to "full‑stack example" for improved clarity.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~11-~11: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...note.mdx"; ## Overview This demo is a full stack example that uses the following: - [Ne...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


58-77: Clear Code Snippets for Waitpoint Token Management
The TypeScript code examples for creating and completing a waitpoint token are well presented and informative. For additional clarity, consider adding brief inline comments about error handling or potential timeouts.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1d920d5 and 672585b.

📒 Files selected for processing (3)
  • docs/docs.json (2 hunks)
  • docs/guides/example-projects/human-in-the-loop-workflow.mdx (1 hunks)
  • docs/guides/introduction.mdx (1 hunks)
🧰 Additional context used
🪛 Biome (1.9.4)
docs/docs.json

[error] 43-43: unexpected character <

(parse)


[error] 43-43: unexpected character <

(parse)


[error] 43-43: unexpected character <

(parse)


[error] 43-43: unexpected character <

(parse)


[error] 43-43: unexpected character <

(parse)


[error] 43-43: unexpected character <

(parse)


[error] 43-43: expected , but instead found Updated

Remove Updated

(parse)


[error] 43-43: expected , but instead found upstream

Remove upstream

(parse)


[error] 44-44: expected , but instead found "pages"

Remove "pages"

(parse)


[error] 44-44: expected , but instead found :

Remove :

(parse)


[error] 44-44: expected , but instead found [

Remove [

(parse)


[error] 44-45: unexpected character =

(parse)


[error] 45-45: unexpected character =

(parse)


[error] 45-45: unexpected character =

(parse)


[error] 45-45: unexpected character =

(parse)


[error] 45-45: unexpected character =

(parse)


[error] 45-45: unexpected character =

(parse)


[error] 45-45: unexpected character =

(parse)


[error] 46-46: expected , but instead found "pages"

Remove "pages"

(parse)


[error] 46-46: expected , but instead found :

Remove :

(parse)


[error] 46-46: expected , but instead found [

Remove [

(parse)


[error] 46-47: unexpected character >

(parse)


[error] 47-47: unexpected character >

(parse)


[error] 47-47: unexpected character >

(parse)


[error] 47-47: unexpected character >

(parse)


[error] 47-47: unexpected character >

(parse)


[error] 47-47: unexpected character >

(parse)


[error] 47-47: unexpected character >

(parse)


[error] 47-47: expected , but instead found Stashed

Remove Stashed

(parse)


[error] 47-47: expected , but instead found changes

Remove changes

(parse)

🪛 LanguageTool
docs/guides/example-projects/human-in-the-loop-workflow.mdx

[uncategorized] ~11-~11: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...note.mdx"; ## Overview This demo is a full stack example that uses the following: - [Ne...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

🔇 Additional comments (3)
docs/docs.json (1)

323-323: New Page Entry Added
The new page entry "guides/example-projects/human-in-the-loop-workflow" has been successfully added to the "Example projects" group. Verify that the referenced file exists and that the navigation updates as expected.

docs/guides/example-projects/human-in-the-loop-workflow.mdx (2)

1-5: Front Matter Verification
The front matter (title, sidebarTitle, and description) is clear and accurately sets the context for the human-in-the-loop workflow documentation.


39-56: Well-Structured Workflow Overview
The "Relevant code" section provides a clear and logical breakdown of the workflow components, with direct links to each corresponding Trigger.dev task and custom ReactFlow node. This helps users understand how the workflow is composed.

@myftija myftija force-pushed the human-in-the-loop-reference-project-docs branch from 672585b to 051a82f Compare April 13, 2025 08:02
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
docs/guides/example-projects/human-in-the-loop-workflow.mdx (2)

11-19: Content Overview and Technology List are Informative.
The section clearly outlines the technologies used in the project with appropriate links.

Nitpick: Consider hyphenating compound adjectives for consistency; for instance, "full stack" could be revised to "full-stack" if it modifies a noun, as suggested by language tools.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~11-~11: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...note.mdx"; ## Overview This demo is a full stack example that uses the following: - [Ne...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


39-47: Task Splitting Description Needs a Minor Text Tweak.
The bullet point for the [summarizeArticle] task on line 44 contains a small phrasing issue ("generate a summary an article"). Consider revising it to "generate a summary of an article" for clarity.

-  - The [summarizeArticle](https://github.com/triggerdotdev/examples/blob/main/article-summary-workflow/src/trigger/summarizeArticle.ts) task uses the OpenAI API to generate a summary an article.
+  - The [summarizeArticle](https://github.com/triggerdotdev/examples/blob/main/article-summary-workflow/src/trigger/summarizeArticle.ts) task uses the OpenAI API to generate a summary of an article.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 672585b and 051a82f.

📒 Files selected for processing (3)
  • docs/docs.json (2 hunks)
  • docs/guides/example-projects/human-in-the-loop-workflow.mdx (1 hunks)
  • docs/guides/introduction.mdx (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/guides/introduction.mdx
  • docs/docs.json
🧰 Additional context used
🪛 LanguageTool
docs/guides/example-projects/human-in-the-loop-workflow.mdx

[uncategorized] ~11-~11: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...note.mdx"; ## Overview This demo is a full stack example that uses the following: - [Ne...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

🔇 Additional comments (12)
docs/guides/example-projects/human-in-the-loop-workflow.mdx (12)

1-5: Front Matter Configuration is Correct.
The YAML front matter is well-defined with appropriate keys (title, sidebarTitle, and description) to categorize and describe the page effectively.


7-7: Import Statement for UpgradeToV4Note is Clear.
The import is correctly referencing the upgrade note snippet, ensuring that important upgrade details are prominently displayed.


9-10: Overview Section Provides a Clear Introduction.
The headings and spacing effectively introduce the content of the document.


20-29: GitHub Repository Section is Well-Structured.
The Card component is effectively used to guide users to the project's GitHub repository, with clear title, icon, and hyperlink attributes.


31-38: Embedded Video Section is Correctly Implemented.
The <video> element includes necessary attributes such as controls and appropriate styling classes, ensuring the video content is displayed properly.


48-51: ReactFlow Nodes Section Clearly Describes Custom Nodes.
The explanations for InputNode, ActionNode, and ReviewNode effectively illustrate their roles in the workflow without ambiguity.


52-54: Workflow Orchestration Section is Well Articulated.
The description of the Flow component’s role, coupled with the use of the useRealtimeRunsWithTag hook, offers a concise explanation of task orchestration.


56-64: Waitpoint Token Creation Snippet is Informative.
The TypeScript code snippet clearly demonstrates how to create a waitpoint token with the proper parameters, serving as a helpful reference for implementing this feature.


66-77: Waitpoint Token Completion Snippet is Clear.
The snippet shows the process of completing a waitpoint token with clear payload structure, which aids in understanding the human-in-the-loop review process.


79-79: UpgradeToV4Note Component is Appropriately Integrated.
Utilizing the <UpgradeToV4Note /> component here reinforces important upgrade information and is correctly placed after the code examples.


81-83: Static Workflow Description is Clear.
The text clearly explains that the workflow is static, making it easier for users to set the right expectations for customization.


84-91: Resource Links Section Effectively Enhances Further Learning.
The "Learn more" section provides valuable external links and learning resources, facilitating additional exploration of Trigger.dev Realtime and waitpoint tokens.

@myftija myftija force-pushed the human-in-the-loop-reference-project-docs branch from 051a82f to 6ba6786 Compare April 13, 2025 08:30
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
docs/guides/example-projects/human-in-the-loop-workflow.mdx (2)

9-11: Optional: Hyphenate "full-stack".

On line 11, the phrase “full stack example” is used. When used as a compound adjective modifying "example," consider hyphenating it to “full‑stack example” for clarity.

-This demo is a full stack example that uses the following:
+This demo is a full-stack example that uses the following:
🧰 Tools
🪛 LanguageTool

[uncategorized] ~11-~11: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...note.mdx"; ## Overview This demo is a full stack example that uses the following: - [Ne...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


43-45: Grammar Correction in Feature Description.

In the description for the summarizeArticle task (line 44), change “generate a summary an article” to “generate a summary of an article” for grammatical accuracy.

-  - The [summarizeArticle](https://github.com/triggerdotdev/examples/blob/main/article-summary-workflow/src/trigger/summarizeArticle.ts) task uses the OpenAI API to generate a summary an article.
+  - The [summarizeArticle](https://github.com/triggerdotdev/examples/blob/main/article-summary-workflow/src/trigger/summarizeArticle.ts) task uses the OpenAI API to generate a summary of an article.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 051a82f and 6ba6786.

📒 Files selected for processing (3)
  • docs/docs.json (1 hunks)
  • docs/guides/example-projects/human-in-the-loop-workflow.mdx (1 hunks)
  • docs/guides/introduction.mdx (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/docs.json
  • docs/guides/introduction.mdx
🧰 Additional context used
🪛 LanguageTool
docs/guides/example-projects/human-in-the-loop-workflow.mdx

[uncategorized] ~11-~11: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...note.mdx"; ## Overview This demo is a full stack example that uses the following: - [Ne...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

🔇 Additional comments (10)
docs/guides/example-projects/human-in-the-loop-workflow.mdx (10)

1-5: Front Matter Metadata is well-formatted.

The title, sidebar title, and description are clearly defined and provide good context for the document. Ensure that these meta fields consistently match the documentation standards for the site.


7-7: Import Statement for UpgradeToV4Note.

The import is concise and correct. Just verify that the referenced file /snippets/upgrade-to-v4-note.mdx exists and remains up-to-date.


20-29: GitHub Repo Card Section is Clear.

The card component effectively presents the repository link with a clear call-to-action. The title, icon, and href are correctly provided.


31-37: Video Block Implementation is Effective.

The <video> element includes required attributes such as controls, a descriptive CSS class, and a valid source URL, ensuring a good user experience.


39-55: "Relevant Code" Section is Comprehensive.

This section clearly explains the workflow, detailing the different tasks and custom ReactFlow nodes with proper external links. The presentation is informative and well-structured.


56-64: Waitpoint Token Creation Snippet is Clear.

The TypeScript snippet that demonstrates creating a waitpoint token is straightforward and uses appropriate parameters. This example should help users understand server action integration.


66-77: Waitpoint Token Completion Snippet is Well-Documented.

The completion snippet clearly shows how to finalize the token using wait.completeToken. The inclusion of type parameters and structured payload data makes it easy to follow.


79-79: UpgradeToV4Note Component Usage.

The inclusion of <UpgradeToV4Note /> is appropriate for highlighting upgrade information. Ensure the note content in /snippets/upgrade-to-v4-note.mdx is kept current.


82-83: Conclusion Paragraph Conveys the Workflow’s Nature.

The final paragraph succinctly explains the static nature of the workflow and its value as a baseline example. This provides a clear takeaway for the reader.


84-90: "Learn More" Section is User-Friendly.

The resources listed under the "Learn more" section are well-organized, with clear links guiding users to additional documentation on Trigger.dev Realtime and waitpoint tokens.

@@ -323,6 +323,7 @@
"guides/example-projects/turborepo-monorepo-prisma",
"guides/example-projects/realtime-fal-ai",
"guides/example-projects/realtime-csv-importer",
"guides/example-projects/human-in-the-loop-workflow",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor one but let's make this list alphabetical

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, made all lists in this page alphabetical

| [Claude thinking chatbot](/guides/example-projects/claude-thinking-chatbot) | Use Vercel's AI SDK and Anthropic's Claude 3.7 model to create a thinking chatbot. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/claude-thinking-chatbot) |
| [Turborepo monorepo with Prisma](/guides/example-projects/turborepo-monorepo-prisma) | Use Prisma in a Turborepo monorepo with Trigger.dev. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/monorepos/turborepo-prisma-tasks-package) |
| [Realtime Fal.ai image generation](/guides/example-projects/realtime-fal-ai) | Generate an image from a prompt using Fal.ai and show the progress of the task on the frontend using Realtime. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/realtime-fal-ai-image-generation) |
| [Human-in-the-loop workflow](/guides/example-projects/human-in-the-loop-workflow) | Create audio summaries of newspaper articles using a human-in-the-loop workflow built with ReactFlow and Trigger.dev waitpoint tokens. | Next.js | [View the repo](https://github.com/triggerdotdev/examples/tree/main/article-summary-workflow) |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also make all of these alphabetical too (by title)

Copy link
Member

@D-K-P D-K-P left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@D-K-P D-K-P merged commit 0b2eb34 into triggerdotdev:main Apr 14, 2025
2 checks passed
matt-aitken pushed a commit that referenced this pull request Apr 16, 2025
* Add a docs page for the human-in-the-loop example project

* Order guides, example projects and example tasks alphabetically in the docs list
matt-aitken added a commit that referenced this pull request Apr 17, 2025
* WIP on secret env vars

* Editing individual env var values is working

* Sort the env vars by the key

* Deleting values

* Allowing setting secret env vars

* Added medium switch style

* Many style changes to the env var form

* “Copy text” -> “Copy”

* Draw a divider between hidden buttons

* Env var tweaks

* Don’t show Dev:you anymore

* Grouping the same env var keys together

* Styles improved

* Improved styling of edit panel

* Fix bun detection, dev flushing, and init command (#1914)

* update nypm to support text-based bun lockfiles

* add nypm changeset

* handle dev flushing failures gracefully

* fix path normalization for init.ts

* add changesets

* chore: remove pre.json after exiting pre mode

* init command to install v4-beta packages

* Revert "chore: remove pre.json after exiting pre mode"

This reverts commit f5694fd.

* make init default to cli version for all packages

* Release 4.0.0-v4-beta.1 (#1916)

* chore: Update version for release (v4-beta)

* Release 4.0.0-v4-beta.1

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <[email protected]>

* Both run engines will only lock to versions they can handle (#1922)

* run engine v1 will only lock to v1 deployments

* run engine v2 will only lock to managed v2 deployments

* test: create background worker and deployment with correct engine version

* Add links to and from deployments (#1921)

* link from deployments tasks to filtered runs view

* jump to deployment

* don't add version links for dev (yet)

* Fix current worker deployment getter (#1924)

* only return last v1 deployment in the shared queue consumer

* be explicit about only returning managed deployments

* Add a docs page for the human-in-the-loop example project (#1919)

* Add a docs page for the human-in-the-loop example project

* Order guides, example projects and example tasks alphabetically in the docs list

* Managed run controller revamp (#1927)

* update nypm to support text-based bun lockfiles

* fix retry spans

* only download debug logs if admin

* add nypm changeset

* pull out env override logic

* use runner env gather helper

* handle dev flushing failures gracefully

* fix path normalization for init.ts

* add logger

* add execution heartbeat service

* add snapshot poller service

* fix poller

* add changesets

* create socket in constructor

* enable strictPropertyInitialization

* deprecate dequeue from version

* start is not async

* dependency injection in prep for tests

* add warm start count to all controller logs

* add restore count

* pull out run execution logic

* temp disable pre

* add a controller log when starting an execution

* refactor execution and squash some bugs

* cleanup completed docker containers by default

* execution fixes and logging improvements

* don't throw afet abort cleanup

* poller should use private interval

* rename heartbeat service file

* rename HeartbeatService to IntervalService

* restore old heartbeat service but deprecate it

* use the new interval service everywhere

* Revert "temp disable pre"

This reverts commit e03f417.

* add changeset

* replace all run engine find uniques with find first

* Release 4.0.0-v4-beta.2 (#1928)

* chore: Update version for release (v4-beta)

* Release 4.0.0-v4-beta.2

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <[email protected]>

* Remove batch ID carryover for non-batch waits (#1930)

* add failing test case

* do not carry over previous batch id when blocking with waitpoint

* delete irrelevant test

* Delete project (#1913)

* Delete project

- Don’t schedule tasks if the project is deleted
- Delete queues from the master queues
- Add the old delete project UI back in

* Mark the project as deleted last

* Fix for overriding local variable

* Added a todo for deleting env queues

* Remove todo

* Improve usage flushing (#1931)

* add flush to global usage api

* enable controller debug logs

* initialize usage manager after env overrides

* add previous run id to more debug logs

* add changeset

* For secret env vars, don’t return the value

* Added a new env var repository function for getting secrets with redactions

* Test task for env vars

* Delete heartbeat file, merge mess up

---------

Co-authored-by: nicktrn <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Saadi Myftija <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants