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

[experimental] introduction of Slack workflow steps #1027

Merged
merged 35 commits into from Mar 11, 2022

Commits on Jan 30, 2022

  1. introduce workflow step app functionality

    Steffen Mahler committed Jan 30, 2022
    Copy the full SHA
    636f906 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. tests for workflowStep added

    Steffen Mahler committed Feb 2, 2022
    Copy the full SHA
    b5814ae View commit details
    Browse the repository at this point in the history
  2. example workflowStep app added

    Steffen Mahler committed Feb 2, 2022
    Copy the full SHA
    b13d00e View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. readme improved

    Steffen Mahler committed Feb 4, 2022
    Copy the full SHA
    7f4937f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4631577 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. using snake case for new directory and file

    Steffen Mahler committed Feb 8, 2022
    Copy the full SHA
    0a59db7 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Copy the full SHA
    4d6e826 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2022

  1. Merge pull request slack-go#1030 from hidenami-i/master

    Add refresh_token and token_type to OAuthV2Response fields
    kanata2 committed Feb 12, 2022
    Copy the full SHA
    9cad061 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2022

  1. all: add new //go:build lines

    $ go version
    go version go1.17.7 darwin/amd64
    
    $ make fmt
    
    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 13, 2022
    Copy the full SHA
    7f6b224 View commit details
    Browse the repository at this point in the history
  2. all: remove github.com/pkg/errors dependency

    The github.com/pkg/errors package has been deprecated.
    
    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 13, 2022
    Copy the full SHA
    eaf6740 View commit details
    Browse the repository at this point in the history
  3. Merge pull request slack-go#1032 from zchee/go117-buildtag

    all: add new //go:build lines
    kanata2 committed Feb 13, 2022
    Copy the full SHA
    1bc0bcc View commit details
    Browse the repository at this point in the history
  4. vendor: run go mod vendor

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 13, 2022
    Copy the full SHA
    86cef73 View commit details
    Browse the repository at this point in the history
  5. Merge pull request slack-go#1033 from zchee/remove-pkg-errors-deps

    all: remove github.com/pkg/errors dependency
    kanata2 committed Feb 13, 2022
    Copy the full SHA
    bbab81d View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. messageID: add benchmark for NewSafeID

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 14, 2022
    Copy the full SHA
    c01cb38 View commit details
    Browse the repository at this point in the history
  2. messageID: optimize NewSafeID using atomic instead of mutex lock

    name                  old time/op    new time/op    delta
    NewSafeID-20            13.9ns ± 2%     7.5ns ± 1%  -46.16%  (p=0.008 n=5+5)
    NewSafeIDParallel-20    24.2ns ± 6%    22.1ns ± 1%   -9.06%  (p=0.008 n=5+5)
    
    name                  old alloc/op   new alloc/op   delta
    NewSafeID-20             0.00B          0.00B          ~     (all equal)
    NewSafeIDParallel-20     8.00B ± 0%     8.00B ± 0%     ~     (all equal)
    
    name                  old allocs/op  new allocs/op  delta
    NewSafeID-20              0.00           0.00          ~     (all equal)
    NewSafeIDParallel-20      1.00 ± 0%      1.00 ± 0%     ~     (all equal)
    
    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 14, 2022
    Copy the full SHA
    fb30ed3 View commit details
    Browse the repository at this point in the history
  3. messageID: add NewSafeID testcase

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 14, 2022
    Copy the full SHA
    1265b2e View commit details
    Browse the repository at this point in the history
  4. switch go code style for imports from gofmt to goimports

    Steffen Mahler committed Feb 14, 2022
    Copy the full SHA
    af5cf8b View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. all: support pass context.Context to all methods

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 15, 2022
    Copy the full SHA
    0389f44 View commit details
    Browse the repository at this point in the history
  2. webhooks: remove go1.12 support

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 15, 2022
    Copy the full SHA
    dacbdf8 View commit details
    Browse the repository at this point in the history
  3. misc: use NewRequestWithContext

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 15, 2022
    Copy the full SHA
    d89251b View commit details
    Browse the repository at this point in the history
  4. misc: use http.MethodXXX constant

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 15, 2022
    Copy the full SHA
    1645ac2 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. messageID: fix atomic operation suggested by brainexe

    name                  old time/op    new time/op    delta
    NewSafeID-20            7.60ns ± 1%    5.93ns ± 1%  -21.97%  (p=0.008 n=5+5)
    NewSafeIDParallel-20    21.0ns ± 1%    21.0ns ± 2%     ~     (p=0.952 n=5+5)
    
    name                  old alloc/op   new alloc/op   delta
    NewSafeID-20             0.00B          0.00B          ~     (all equal)
    NewSafeIDParallel-20     8.00B ± 0%     8.00B ± 0%     ~     (all equal)
    
    name                  old allocs/op  new allocs/op  delta
    NewSafeID-20              0.00           0.00          ~     (all equal)
    NewSafeIDParallel-20      1.00 ± 0%      1.00 ± 0%     ~     (all equal)
    
    See also:
    - slack-go#1035 (review)
    
    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 24, 2022
    Copy the full SHA
    daa4329 View commit details
    Browse the repository at this point in the history
  2. messageID: add documentation

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 24, 2022
    Copy the full SHA
    93ff3fb View commit details
    Browse the repository at this point in the history
  3. chat: add some BuildRequestContext methods for backwards compatibility

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 24, 2022
    Copy the full SHA
    67b468f View commit details
    Browse the repository at this point in the history
  4. webhook: remove unnecessary PostWebhookContextCustomHTTP function

    Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
    zchee committed Feb 24, 2022
    Copy the full SHA
    741a1f5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request slack-go#1034 from zchee/ctx-aware

    Support pass context.Context to all methods
    zchee committed Feb 24, 2022
    Copy the full SHA
    ff619ea View commit details
    Browse the repository at this point in the history
  6. Merge pull request slack-go#1035 from zchee/opt-new-safe-id

    Optimize NewSafeID using atomic
    zchee committed Feb 24, 2022
    Copy the full SHA
    f6658aa View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. introduce workflow step app functionality

    Steffen Mahler committed Feb 28, 2022
    Copy the full SHA
    486fde5 View commit details
    Browse the repository at this point in the history
  2. tests for workflowStep added

    Steffen Mahler committed Feb 28, 2022
    Copy the full SHA
    b57471c View commit details
    Browse the repository at this point in the history
  3. example workflowStep app added

    Steffen Mahler committed Feb 28, 2022
    Copy the full SHA
    fabe21a View commit details
    Browse the repository at this point in the history
  4. readme improved

    Steffen Mahler committed Feb 28, 2022
    Copy the full SHA
    dd80d02 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    81b0160 View commit details
    Browse the repository at this point in the history
  6. using snake case for new directory and file

    Steffen Mahler committed Feb 28, 2022
    Copy the full SHA
    cd34138 View commit details
    Browse the repository at this point in the history
  7. switch go code style for imports from gofmt to goimports

    Steffen Mahler committed Feb 28, 2022
    Copy the full SHA
    c90fe4e View commit details
    Browse the repository at this point in the history
  8. rebase

    Steffen Mahler committed Feb 28, 2022
    Copy the full SHA
    b5149b1 View commit details
    Browse the repository at this point in the history