Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 4, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish 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

@slack/cli-hooks@1.3.0

Minor Changes

  • 0abdc91: feat(cli-hooks): add default app and manifest watch config

    This package now provides default watch configurations for automatic file watching during slack run. The CLI will restart your app server when source files change and reinstall your app when the manifest changes.

    Requirements: These features require Slack CLI v3.12.0+ with file watching support.

    Default Configuration

    The following watch settings are provided automatically when using this package:

    {
      "config": {
        "watch": {
          "app": {
            "filter-regex": "\\.js$",
            "paths": ["."]
          },
          "manifest": {
            "paths": ["manifest.json"]
          }
        }
      }
    }
    • app: Watches for JavaScript file changes to restart the app server
    • manifest: Watches the manifest file for changes to reinstall the app

    Note: Manifest watching requires a local manifest source in your .slack/config.json file. Remote manifests will not be updated on file changes.

    {
      "manifest": {
        "source": "local"
      }
    }

    Custom Configurations

    You can override these defaults in your .slack/hooks.json file to reduce the paths searched or change the file patterns. Read Watch Configurations for more options.

    TypeScript Development

    TypeScript developers should run tsc --watch in a separate terminal during development. This compiles .ts files to .js on changes, and the default watch configuration will detect changes to the compiled dist/*.js files and restart the app server. This approach works best with the default settings.

Patch Changes

  • 8962739: fix(cli-hooks): stop app process if the start hook exits

    Fixes a CLI issue where daemon app processes were spawned if the CLI was exited without being interrupted.

@github-actions github-actions bot requested a review from a team as a code owner February 4, 2026 07:09
@zimeg
Copy link
Member

zimeg commented Feb 4, 2026

👁️‍🗨️ I notice the tests aren't starting for this PR. IIRC this is a limitation of app created PRs 🤖

I'm checking out options of starting tests with workflow_dispatch in adjacent PRs and am curious if that might be useful here...

We also might ignore the required checks instead since tests on the main branch should be passing before this merges! 🙏 ✨

@github-actions github-actions bot force-pushed the changeset-release/main branch from 62b8efc to f617484 Compare February 4, 2026 19:09
@zimeg zimeg added pkg:cli-hooks applies to `@slack/cli-hooks` release labels Feb 4, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from f617484 to 305b030 Compare February 4, 2026 23:37
@zimeg
Copy link
Member

zimeg commented Feb 5, 2026

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.11%. Comparing base (0abdc91) to head (ca2a4e1).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2503   +/-   ##
=======================================
  Coverage   93.11%   93.11%           
=======================================
  Files          40       40           
  Lines       11269    11269           
  Branches      713      713           
=======================================
  Hits        10493    10493           
  Misses        764      764           
  Partials       12       12           
Flag Coverage Δ
cli-hooks 95.42% <ø> (ø)
cli-test 94.79% <ø> (ø)
oauth 77.39% <ø> (ø)
socket-mode 61.87% <ø> (ø)
web-api 98.11% <ø> (ø)
webhook 96.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

🚀

@zimeg zimeg enabled auto-merge (squash) February 5, 2026 22:06
@zimeg zimeg merged commit 941217f into main Feb 5, 2026
58 checks passed
@zimeg zimeg deleted the changeset-release/main branch February 5, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg:cli-hooks applies to `@slack/cli-hooks` release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant