Skip to content

Commit 81d8d91

Browse files
authored
fix: updating to main and starter guard screen (#7241)
1 parent 3fbc494 commit 81d8d91

File tree

87 files changed

+6702
-2795
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+6702
-2795
lines changed

.github/workflows/pr-comment-bundle.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,20 @@ jobs:
136136
[📱 Download macOS Desktop App (arm64, unsigned)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-arm64.zip)
137137
138138
**Instructions:**
139-
After downloading, unzip the file and drag the goose.app to a location you prefer. The app is unsigned, so to run it run `xattr -r -d com.apple.quarantine '/path/to/goose.app'` and then open the app
139+
140+
The easiest way is to just run the following script:
141+
142+
`./scripts/pre-release.sh`
143+
144+
script which will download the latest release (or you can specify the release you need), does the
145+
unzip, xattr to get it out of quarantine and signs it.
146+
147+
If you need to do this manually:
148+
149+
* Download the file
150+
* Unzip
151+
* run `xattr -r -d com.apple.quarantine '/path/to/Goose.app'`
152+
* optionally run `codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'`
153+
* start the app
154+
155+
The signing step is only needed if you do something that uses mac entitlements like speech to text

.github/workflows/pr-smoke-test.yml

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,22 @@ jobs:
6767

6868
- name: Build Binary for Smoke Tests
6969
run: |
70-
cargo build --bin goose
70+
cargo build --bin goose --bin goosed
7171
72-
- name: Upload Binary for Smoke Tests
72+
- name: Upload goose binary
7373
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7474
with:
7575
name: goose-binary
7676
path: target/debug/goose
7777
retention-days: 1
7878

79+
- name: Upload goosed binary
80+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
81+
with:
82+
name: goosed-binary
83+
path: target/debug/goosed
84+
retention-days: 1
85+
7986
smoke-tests:
8087
name: Smoke Tests
8188
runs-on: ubuntu-latest
@@ -239,3 +246,38 @@ jobs:
239246
mkdir -p $HOME/.local/share/goose/sessions
240247
mkdir -p $HOME/.config/goose
241248
bash scripts/test_compaction.sh
249+
250+
goosed-integration-tests:
251+
name: goose server HTTP integration tests
252+
runs-on: ubuntu-latest
253+
needs: build-binary
254+
steps:
255+
- name: Checkout Code
256+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
257+
with:
258+
ref: ${{ github.event.inputs.branch || github.ref }}
259+
260+
- name: Download Binary
261+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
262+
with:
263+
name: goosed-binary
264+
path: target/debug
265+
266+
- name: Make Binary Executable
267+
run: chmod +x target/debug/goosed
268+
269+
- name: Install Node.js Dependencies
270+
run: source ../../bin/activate-hermit && npm ci
271+
working-directory: ui/desktop
272+
273+
- name: Run Integration Tests
274+
env:
275+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
276+
GOOSED_BINARY: ../../target/debug/goosed
277+
GOOSE_PROVIDER: anthropic
278+
GOOSE_MODEL: claude-sonnet-4-5-20250929
279+
SHELL: /bin/bash
280+
run: |
281+
echo 'export PATH=/some/fake/path:$PATH' >> $HOME/.bash_profile
282+
source ../../bin/activate-hermit && npm run test:integration:debug
283+
working-directory: ui/desktop

.github/workflows/release-branches.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ jobs:
2828
2929
**Instructions:**
3030
After downloading, unzip the file and drag the goose.app to a location you prefer. The app is unsigned, so to run it run `xattr -r -d com.apple.quarantine '/path/to/goose.app'` and then open the app
31+
32+
**To test speech-to-text**, you also need to codesign the app with the microphone entitlement:
33+
```
34+
codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'
35+
```

0 commit comments

Comments
 (0)