Skip to content

Avoid waiting for termination signal upon start-up#137

Closed
umairnadeem wants to merge 2 commits into
CoorpAcademy:masterfrom
umairnadeem:umair/fix-threadlock
Closed

Avoid waiting for termination signal upon start-up#137
umairnadeem wants to merge 2 commits into
CoorpAcademy:masterfrom
umairnadeem:umair/fix-threadlock

Conversation

@umairnadeem

Copy link
Copy Markdown

With the following plugin order in serverless.yml, we currently get stuck at the start-up page:

  - serverless-plugin-typescript
  - serverless-offline-kinesis
  - serverless-offline

package.json:

"serverless-offline": "^6.4.0",
"serverless-offline-kinesis": "^4.0.1",
"serverless-plugin-typescript": "^1.1.7"

await this.start();
await this.ready();
this.end();
this.ready().then(this.end).catch(() => null);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@umairnadeem do you have some exemple of traces that calling t.end cause?

@silouone

Copy link
Copy Markdown
Member

Appreciate this, @umairnadeem! The start-up path this PR touched was rewritten in #265 (on master now, released shortly), so the code it references no longer exists. The behavior should be improved in the next release, so I'm closing this as superseded. Thanks for your contribution! 🙏

@silouone silouone closed this Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants