triggerdotdev / trigger.dev Goto Github PK
View Code? Open in Web Editor NEWTrigger.dev is the open source background jobs platform for TypeScript.
Home Page: https://trigger.dev/changelog
License: Apache License 2.0
Trigger.dev is the open source background jobs platform for TypeScript.
Home Page: https://trigger.dev/changelog
License: Apache License 2.0
This is the issue body
Allow events to Trigger runs without first going through the platform
Any page that makes sense to have auto-refreshing data, like the execution page
Create an adapter for using Trigger.dev in a next.js project. Something like this:
import { Trigger, EntryPoint, customEvent } from "@trigger.dev/sdk";
import { createHandler } from "@trigger.dev/nextjs";
const entryPoint = new EntryPoint({
apiKey: process.env.TRIGGER_API_KEY,
});
new Trigger({
id: "my-workflow",
name: "My workflow",
logLevel: "debug",
on: customEvent({ name: "user.created" }),
run: async (event, ctx) => {
await ctx.logger.info("Inside the smoke test workflow, received event", {
event,
myDate: new Date(),
});
return { foo: "bar" };
},
}).register(entryPoint);
const handler = createHandler(entryPoint);
export default handler;
Remove services and 3rd party dependencies, including Apache Pulsar, in favor of solutions that use PostgreSQL (like Graphile Worker). This is will include removing services such as the integrations service and the websocket service.
Hey Trigger team
I'm deploying to Render web service, and deploy to Render failed because it will do a health check (returns 2xx status for success) when deploying, since Trigger doesn't listen on any port, the check will always fail. You can read more here and you can't disable the health check.
Thanks
Hi, I see you guys have a example of using supabase trigger at your home page. Just wondering if you have a example code or supabase integration coming?
Thanks!
This is not a major issue, but when you click on an Oauth Connection button on the API Integrations page and cancel the request and click on another OAuth button (or a nav button), it seems to retain the previous connection state resulting in the previous integration popup firing.
I haven't had a chance to dive into it, but seems to a be a issue with ConnectOAuthButton
when it catches an error from a cancelled request -
See:
This is an initial tracer bullet issue to get Jobs executing over HTTP. Work that will need to be done:
Following the link gives you an "Oops, there's an error" page.
Since live deployments will no longer automatically connect to trigger.dev to self-register triggers, we'll need to allow developers to "publish" an entry point to live (and enter a hostname and path). During the publishing process, the trigger.dev platform will make an HTTP request to the live entry point and attempt to gather information about all the triggers associated with the entry point. It will then "publish" those triggers to live on the platform side, and do any setup required for each trigger to work. Once each trigger is published, then the version of the trigger found in the live entry point will be aliased to "live", and any new changes to the trigger will need to have a version number > the live version
This is some body text
This is the body text
const name = "Matt"
The guide should make it easy to host the project yourself.
Trigger.dev involves several services.
Our current deployment system:
Allow customers to be able to access workflow data through an API. Some potential API endpoints:
Developers should be able to directly invite a trigger and get an execution ID back
Simplify the platform and make it much easier to self-host
Follow the steps
And I got
Error [ERR_REQUIRE_ESM]: require() of ES Module node_modules/terminal-link/index.js from /node_modules/@trigger.dev/sdk/dist/index.js not supported.
Hello to the Trigger.dev team!
I'm Agathe Brusset, project manager of MailerSend, a solution to send transactional emails, SMS and verify emails addresses. We would love to connect MailerSend to Trigger.dev. Would you consider adding MailerSend as an email and SMS provider?
Please find more details on our website: www.mailersend.com, API documentation and our NodeJS SDK.
Let us know when you create an account so we can allow you to test our features.
Regards,
Agathe Brusset
Tasks are the new abstraction for a single unit of work, and can be completely configured and controlled via clients through the Task API. Tasks can also have subtasks, which allows for composable task hierarchies
Is your feature request related to a problem? Please describe.
I would like to support trigger.dev by implementing Uffizzi preview environments.
Disclaimer: I work on Uffizzi.
Uffizzi is a Open Source full stack previews engine and our platform is available completely free for trigger.dev (and all open source projects). This will provide maintainers with preview environments of every PR in the cloud, which enables faster iterations and reduces time to merge. You can see the open source repos which are currently using Uffizzi over here
Uffizzi is purpose-built for the task of previewing PRs and it integrates with your workflow to deploy preview environments in the background without any manual steps for maintainers or contributors.
We can go ahead and create an Initial PoC for you right away if you think there is value in this proposal.
If a runOnce task doesn't complete and your server goes down, it doesn't retry when the server is back up.
run: async (event, ctx) => {
const { videoId } = event;
const result = await ctx.runOnce(videoId, async (idempotencyKey) => {
await new Promise((r) => setTimeout(r, 10000));
return "finished";
});
return { result };
}
This does not restart if I kill the server mid-way. It just console.logs this when the server is back up:
[trigger.dev] Run cldzype0* complete ๐ [render-video]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.