Skip to content
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

When timing out during parallel recovery, try to log the step name #519

Merged
merged 3 commits into from Mar 19, 2024

Conversation

jpwilliams
Copy link
Member

@jpwilliams jpwilliams commented Mar 18, 2024

Summary

Log the step name instead of its internal hashed ID when timing our during parallel recovery.

Checklist

  • Added a docs PR that references this PR N/A
  • Added unit/integration tests N/A Log
  • Added changesets if applicable

@jpwilliams jpwilliams added 💡 KTLO Chores, dependency updates, and routine tasks 🧑‍💻 dx Dev-facing resources such as examples or READMEs labels Mar 18, 2024
@jpwilliams jpwilliams self-assigned this Mar 18, 2024
Copy link

changeset-bot bot commented Mar 18, 2024

🦋 Changeset detected

Latest commit: c3959d5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
inngest Patch

Not sure what this means? Click here to learn what changesets are.

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

@inngest-release-bot inngest-release-bot added the 📦 inngest Affects the `inngest` package label Mar 18, 2024
jpwilliams added a commit that referenced this pull request Mar 19, 2024
## Summary
<!-- Succinctly describe your change, providing context, what you've
changed, and why. -->

Fixes integration tests returning an incorrect ID when sending events.

## Checklist
<!-- Tick these items off as you progress. -->
<!-- If an item isn't applicable, ideally please strikeout the item by
wrapping it in "~~"" and suffix it with "N/A My reason for skipping
this." -->
<!-- e.g. "- [ ] ~~Added tests~~ N/A Only touches docs" -->

- [ ] ~Added a [docs PR](https://github.com/inngest/website) that
references this PR~ N/A
- [x] Added unit/integration tests
- [x] Added changesets if applicable

## Related
<!-- A space for any related links, issues, or PRs. -->
<!-- Linear issues are autolinked. -->
<!-- e.g. - INN-123 -->
<!-- GitHub issues/PRs can be linked using shorthand. -->
<!-- e.g. "- inngest/inngest#123" -->
<!-- Feel free to remove this section if there are no applicable related
links.-->
- INN-2879
- inngest/inngest#1238
- Unblocks:
  - #518
  - #519 
  - #520 
  - #521
@jpwilliams jpwilliams merged commit 775fee7 into main Mar 19, 2024
36 checks passed
@jpwilliams jpwilliams deleted the ktlo/step-name-on-timeout branch March 19, 2024 16:26
jpwilliams pushed a commit that referenced this pull request Mar 19, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## inngest@3.16.1

### Patch Changes

- [#518](#518)
[`bc494da`](bc494da)
Thanks [@jpwilliams](https://github.com/jpwilliams)! - INN-2861 No
longer execute `step.sendEvent()` inline

To send an event in a function without making it a step function, use
`inngest.send()` instead.

- [#519](#519)
[`775fee7`](775fee7)
Thanks [@jpwilliams](https://github.com/jpwilliams)! - When timing out
during parallel recovery, will now prefer logging the step's name
instead of its internal hashed ID

- [#517](#517)
[`f8a8f7b`](f8a8f7b)
Thanks [@wtachau](https://github.com/wtachau)! - Fix `RetryAfterError`
comments; it accepts milliseconds as a `number`, not seconds

- [#521](#521)
[`9aa3979`](9aa3979)
Thanks [@jpwilliams](https://github.com/jpwilliams)! - INN-2880 Add
warning if `fetch` fails and is a custom implementation

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 dx Dev-facing resources such as examples or READMEs 📦 inngest Affects the `inngest` package 💡 KTLO Chores, dependency updates, and routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants