-
Notifications
You must be signed in to change notification settings - Fork 430
fix: always attach the function bot access token to the context if available #2513
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
+104
−10
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
9efc199
fix: refactor function handler for follow up auto ack behavior
WilliamBergamin 5c5e84a
Add more unit test to cover function scoped actions
WilliamBergamin 8422fff
Merge branch 'main' into refactor-function-listener-for-future-auto-a…
WilliamBergamin d61f2cd
Merge branch 'main' into refactor-function-listener-for-future-auto-a…
WilliamBergamin 24f5dbb
fix: always attach the function bot access token to the context if av…
zimeg 6b0c3b9
Update test/types/action.test-d.ts
WilliamBergamin 32f698f
Update src/CustomFunction.ts
WilliamBergamin 0d7a953
Update src/CustomFunction.ts
WilliamBergamin 46ebf61
Add a TODO for create say
WilliamBergamin 3b4342d
Update src/App.ts
WilliamBergamin 28c73d8
Update src/CustomFunction.ts
WilliamBergamin 425c963
Update src/CustomFunction.ts
WilliamBergamin 07ef57a
Update src/CustomFunction.ts
WilliamBergamin a602dc6
Update src/CustomFunction.ts
WilliamBergamin 70deb4f
fix imports
WilliamBergamin f9b2fae
Update src/App.ts
WilliamBergamin 0ba5ea8
Improve client pool behavior
WilliamBergamin 9e6ef71
depricate types instead of removing them
WilliamBergamin a01e3f1
Update src/CustomFunction.ts
WilliamBergamin 4e60cfa
Merge branch 'refactor-function-listener-for-future-auto-ack-changes'…
WilliamBergamin 5d64700
chore: merge w main
zimeg 96967f7
chore: merge w main
zimeg 090a7c4
test: confirm function executed event details are added to the context
zimeg 790cd9f
chore: merge w main
zimeg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📣 Here we are not testing that
functionInputsare added tocontextbut I'm not sure if this is something we want to change in this PR?It's not clear to me if this should be included following
L1624frombody.event.inputsfor convenience:bolt-js/src/App.ts
Lines 1616 to 1635 in 76140ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If adding a test for
functionInputsin the context is a small change then we can do it in this PR 💯 but if it is larger then maybe we do it in another PRThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good thinking. I'm finding this change involves an update to another file which does seem outside the scope of this PR 🫡