Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
572 commits
Select commit Hold shift + click to select a range
461eccd
Merge branch 'version/0-48-0-RC1' into mitchell/dx-3248
mitchell-as Apr 16, 2025
faaba18
Merge pull request #3672 from ActiveState/mitchell/dx-3248
mitchell-as Apr 16, 2025
5207d8a
Merge branch version/0-48-0-RC1 to adopt changes from PR #3672
as-builds Apr 16, 2025
693ee3c
Merge branch 'version/0-48-0-RC1' into mitchell/dx-3243
mitchell-as Apr 16, 2025
dc4a336
Merge pull request #3673 from ActiveState/mitchell/dx-3243
mitchell-as Apr 16, 2025
310b722
Merge branch version/0-48-0-RC1 to adopt changes from PR #3673
as-builds Apr 16, 2025
894589d
Remediate CVE in golang.org/x/net.
mitchell-as Apr 17, 2025
5112269
Merge pull request #3676 from ActiveState/mitchell/dx-3250
mitchell-as Apr 17, 2025
12133ef
Merge branch version/0-48-0-RC1 to adopt changes from PR #3676
as-builds Apr 17, 2025
6550dae
First attempt building for Apple Silicon.
mitchell-as Apr 17, 2025
dc85502
Merge pull request #3675 from ActiveState/mitchell/dx-3247
mitchell-as Apr 24, 2025
1b5ff16
Merge branch version/0-48-0-RC1 to adopt changes from PR #3675
as-builds Apr 24, 2025
3f507cc
Fixe failing integration test on macOS ARM.
mitchell-as Apr 28, 2025
3e53b6e
Merge pull request #3677 from ActiveState/mitchell/dx-3253
mitchell-as Apr 28, 2025
3c2aaa8
Merge branch version/0-48-0-RC1 to adopt changes from PR #3677
as-builds Apr 28, 2025
e46cd72
Temporarily do not test Fish shell on macOS ARM.
mitchell-as Apr 28, 2025
74caa63
Temporarily disable failing test on macOS ARM.
mitchell-as Apr 28, 2025
18814f7
Merge pull request #3679 from ActiveState/mitchell/dx-3255
mitchell-as Apr 28, 2025
2937d8d
Merge branch version/0-48-0-RC1 to adopt changes from PR #3679
as-builds Apr 28, 2025
f417915
Merge pull request #3678 from ActiveState/mitchell/dx-3254
mitchell-as Apr 28, 2025
f4c2f73
Merge branch version/0-48-0-RC1 to adopt changes from PR #3678
as-builds Apr 28, 2025
dfa72f0
Temporarily disable failing test.
mitchell-as May 6, 2025
6e60409
Merge pull request #3680 from ActiveState/mitchell/dx-3258
mitchell-as May 6, 2025
3c3adfd
Merge branch version/0-48-0-RC1 to adopt changes from PR #3680
as-builds May 6, 2025
0a98d16
Added `--ts=dynamic` parameter to `state install` in order to use dyn…
mitchell-as Jul 1, 2025
aae5b59
Merge pull request #3681 from ActiveState/mitchell/cp-920
Naatan Jul 2, 2025
103ba70
Drop Jira and Version centric workflows
Naatan Jul 7, 2025
b957ae4
Merge pull request #3682 from ActiveState/CP-932
Naatan Jul 10, 2025
f02a36a
Start ecosystem implementation
Naatan Jul 11, 2025
121eb84
Cleanup state-mcp
Naatan Jul 11, 2025
cac3faf
Merge branch 'master' into mcp
Naatan Jul 11, 2025
3395d59
Continue ecosystem implementation.
mitchell-as Jul 14, 2025
7e2398e
Revert some previous changes regarding artifacts to uninstall.
mitchell-as Jul 14, 2025
a543d89
Make note of follow-up work.
mitchell-as Jul 15, 2025
397c278
Handle cast library returning nil values if source is nil
Naatan Jul 15, 2025
6d41be7
Drop debugging code
Naatan Jul 15, 2025
38e51d5
Fix test not constructing outputter properly
Naatan Jul 15, 2025
cf4ca2c
Move ecosystem 'Apply()' call into postprocess.
mitchell-as Jul 15, 2025
c97f5d8
Fix tests
Naatan Jul 15, 2025
897a3a9
Merge pull request #3684 from ActiveState/mitchell/cp-933
Naatan Jul 16, 2025
8ffadb2
Drop donotshipme package; we can in fact ship this now
Naatan Jul 16, 2025
169471b
Merge pull request #3671 from ActiveState/mcp
Naatan Jul 16, 2025
c0f167c
Initial ecosystem implementation for Java.
mitchell-as Jul 16, 2025
144e4ca
Merge branch 'master' into mitchell/cp-934
mitchell-as Jul 16, 2025
40d8a52
feat: CP-955 migrate ProjectErrorsTool (shallow query)
samueld-activator Jul 17, 2025
d4666c6
Inject CLASSPATH into Java artifact runtime.json files.
mitchell-as Jul 17, 2025
f22c9b7
feat: extend ProjectErrorsTool to check error's cause and check if it…
samueld-activator Jul 17, 2025
1e0b734
Use proper type.
mitchell-as Jul 17, 2025
cbf105c
Merge pull request #3686 from ActiveState/mitchell/cp-934
mitchell-as Jul 17, 2025
a293c02
Make new storage dirs behave the same way as the old
Naatan Jul 17, 2025
ce0cd30
chore: reuse existing code instead of calling graphql directly
samueld-activator Jul 18, 2025
af59800
Merge pull request #3689 from ActiveState/CP-967
Naatan Jul 21, 2025
6667e8c
feat: Add SourceURI to each artifact and refactor some code
samueld-activator Jul 21, 2025
a030608
chore: dereference *branch.CommitID instead of strfmt.UUID(branch.Com…
samueld-activator Jul 21, 2025
3a07e24
fix: artifact.Name -> artifact.Name() is failing CI
samueld-activator Jul 21, 2025
f0f3961
Initial ecosystem implementation for JavaScript.
mitchell-as Jul 22, 2025
c9c063a
No need for the "install-links" npm flag since we're installing tarba…
mitchell-as Jul 23, 2025
6cc007a
Force offline mode for npm when installing our packages.
mitchell-as Jul 23, 2025
1b6ba39
Merge pull request #3688 from ActiveState/samueld/CP-955
samueld-activator Jul 23, 2025
23fd015
Use npm directly instead of its executor.
mitchell-as Jul 23, 2025
317c0b1
feat: CP-990 CP-991 Add MCP tools
samueld-activator Jul 23, 2025
90b5e13
chore: migrate aws/aws-sdk-go to v2
samueld-activator Jul 23, 2025
de396c9
Inject NPM_CONFIG_PREFIX into runtime.json for nodejs artifacts.
mitchell-as Jul 23, 2025
4bd8f86
Create params for runners and improve error message
samueld-activator Jul 24, 2025
b2439d9
Merge pull request #3690 from ActiveState/mitchell/cp-935
mitchell-as Jul 24, 2025
261c1ec
chore: small improvement on code structure
samueld-activator Jul 24, 2025
1ede3d0
fix: test for updated code using aws-sdk-go-v2
samueld-activator Jul 24, 2025
d52ee2c
Merge pull request #3691 from ActiveState/samueld/CP-990
samueld-activator Jul 25, 2025
b365d57
feat: CP-993 Migrate MCP prompts to state tool
samueld-activator Jul 25, 2025
192c869
fix unit test importing toolregistry -> registry
samueld-activator Jul 25, 2025
3d3fd12
fix: typos and remove log outside main()
samueld-activator Jul 25, 2025
1bd87e8
Merge pull request #3692 from ActiveState/samueld/CP-993
samueld-activator Jul 25, 2025
9f449b3
Add `--language` and `--namespace` flags to `state import`
Naatan Jul 25, 2025
6a243c6
Add `security.reporting` config to disable CVE reporting
Naatan Jul 25, 2025
9e06a36
Merge pull request #3694 from ActiveState/security-enabled
Naatan Jul 28, 2025
9cde32e
Add `state import .. --namespace ..` test
Naatan Jul 28, 2025
2fed925
Fix tests
Naatan Jul 28, 2025
d0fda62
Merge pull request #3693 from ActiveState/CP-921
Naatan Jul 28, 2025
a6ddb1e
Initial ecosystem implementation for Rust.
mitchell-as Jul 29, 2025
d0e8dda
Merge pull request #3695 from ActiveState/mitchell/cp-984
mitchell-as Jul 30, 2025
7113bfa
Try vendoring dependencies in Rust ecosystem.
mitchell-as Jul 30, 2025
6549570
Merge pull request #3696 from ActiveState/mitchell/cp-1004
mitchell-as Jul 30, 2025
0725517
Fix evaluate not waiting for plan to be ready
Naatan Aug 5, 2025
1ec0a5b
Merge pull request #3697 from ActiveState/CP-1008
Naatan Aug 6, 2025
b608db9
Add `--ts dynamic` to `state import`
Naatan Aug 6, 2025
4547827
Merge pull request #3699 from ActiveState/CP-1023
Naatan Aug 6, 2025
39ab7d0
Initial ecosystem implementation for .NET/C#.
mitchell-as Aug 6, 2025
bd0b267
Merge pull request #3698 from ActiveState/mitchell/cp-980
mitchell-as Aug 7, 2025
9dd82c6
Added `--ts` flag to `state commit`
Naatan Aug 7, 2025
632afca
Fixed detection of JavaScript modules installed in a runtime.
mitchell-as Aug 8, 2025
4bffee9
Document values
Naatan Aug 8, 2025
02b664b
Added comment.
mitchell-as Aug 8, 2025
2c33952
Merge pull request #3700 from ActiveState/CP-1045
Naatan Aug 8, 2025
5688abb
Merge pull request #3701 from ActiveState/mitchell/cp-1018
mitchell-as Aug 8, 2025
714383a
Added `state commit --skip-validation` flag
Naatan Aug 11, 2025
8574b0f
Prevent concurrent map writes
Naatan Aug 11, 2025
888d490
Merge pull request #3702 from ActiveState/CP-1046
Naatan Aug 11, 2025
5974d55
Merge pull request #3703 from ActiveState/CP-1010
Naatan Aug 11, 2025
1fd6e35
Default to platform present if no timestamp input was provided
Naatan Aug 11, 2025
6b1896b
Merge pull request #3704 from ActiveState/CP-1048
Naatan Aug 11, 2025
89723ae
Update windows runner to 2025
Naatan Aug 11, 2025
33ddc91
Simplify assertion, avoiding encoding issues
Naatan Aug 11, 2025
abaee95
Give more time cause Windows
Naatan Aug 11, 2025
c1c200d
Add error info
Naatan Aug 12, 2025
7b1dc20
Increase timeout
Naatan Aug 12, 2025
2f96937
Include logs in test failure
Naatan Aug 13, 2025
d0e9c52
Test if signing works
Naatan Aug 13, 2025
07367b2
feat: CP-1037 New MCP tool to create revision from dependency list
samueld-activator Aug 13, 2025
7630e2b
Add create ingredient version revision runner
samueld-activator Aug 13, 2025
d3d4ec3
Determine SDK version
Naatan Aug 13, 2025
59d2471
Attempt find to locate signtool
Naatan Aug 13, 2025
a7f77df
Update windows kit path, find wix path
Naatan Aug 13, 2025
74d8971
Fix paths
Naatan Aug 13, 2025
4bdda96
Expand `--ts dynamic`.
mitchell-as Aug 13, 2025
58065fc
Specify newly required flag
Naatan Aug 13, 2025
7213913
Merge pull request #3707 from ActiveState/mitchell/cp-1057
mitchell-as Aug 13, 2025
499f44e
Disable signing on non release branches again
Naatan Aug 13, 2025
d0d0b2c
Fix `state commit --skip-validation` saying failed when it was a success
Naatan Aug 13, 2025
9530a56
Merge pull request #3708 from ActiveState/CP-1053
Naatan Aug 14, 2025
a92547f
Debug tests
Naatan Aug 14, 2025
6650efa
Initial ecosystem implementation for Go.
mitchell-as Aug 14, 2025
268862a
Mark TestAttempts as critical
Naatan Aug 14, 2025
565318b
Fix test failure on windows due to whitespace
Naatan Aug 14, 2025
1fdbd19
Wrap errors appropriately and move CreateNewIngredientVersionRevision…
samueld-activator Aug 15, 2025
3be639d
Do not assume go.mod exists and address PR feedback.
mitchell-as Aug 15, 2025
0a5cdd4
Change windows host to windows-2022
Naatan Aug 15, 2025
7b88f5b
Error when option set is of unknown type during ingredient revision c…
samueld-activator Aug 15, 2025
8ec8759
Merge pull request #3706 from ActiveState/samueld/CP-1037
samueld-activator Aug 15, 2025
3168e9c
Support namespace:name syntax for packages.
mitchell-as Aug 18, 2025
54f2614
Revert "Change windows host to windows-2022"
Naatan Aug 18, 2025
cdb049b
Focus debugging on single test, due to verbosity
Naatan Aug 18, 2025
d12085d
Fix unused import
Naatan Aug 18, 2025
91c7baf
Drop termtest logging
Naatan Aug 18, 2025
1d3322a
Fix test
Naatan Aug 18, 2025
12a4e99
Debug test with termtest logging
Naatan Aug 18, 2025
5fc8c58
Run with dotprogress to reduce log size
Naatan Aug 18, 2025
3db12b1
DX-3158-Allow publish .whl files
icanhasmath Aug 18, 2025
3e66f72
Merge pull request #3709 from ActiveState/mitchell/cp-1028
mitchell-as Aug 19, 2025
c145ffe
Merge pull request #3711 from ActiveState/mitchell/cp-972
mitchell-as Aug 19, 2025
6604edd
Update termtest to version that strips out bell character
Naatan Aug 19, 2025
09f7c70
Update termtest to support partial cleanups
Naatan Aug 20, 2025
7301bd9
Drop debug label
Naatan Aug 20, 2025
ceafc3b
Merge pull request #3705 from ActiveState/CP-1034
Naatan Aug 20, 2025
6c04094
feat: CP-1068 Create MCP tool to bump timestamp of a project
samueld-activator Aug 21, 2025
764a56f
Use FetchCommitNoPoll instead of FetchCommit
samueld-activator Aug 21, 2025
eeac0f2
Remove incorrect mutex.
mitchell-as Aug 21, 2025
a1c8e35
Merge pull request #3714 from ActiveState/mitchell/cp-1070
mitchell-as Aug 21, 2025
7e4b619
Push the new commit and retrieve latest timestamp properly
samueld-activator Aug 21, 2025
da14c58
fix: CP-1074 MCP tool get_ingredient_details should always return the…
samueld-activator Aug 21, 2025
0d2d53c
Merge pull request #3713 from ActiveState/samueld/CP-1068
samueld-activator Aug 21, 2025
d29a589
Merge pull request #3715 from ActiveState/samueld/CP-1074
samueld-activator Aug 21, 2025
84ffb1e
Initial support for removing dynamically imported artifacts.
mitchell-as Aug 21, 2025
4c89cfa
Allow configuration of API host
MDrakos Aug 26, 2025
4ae8db3
Allow configuration of analytics pixel URL
MDrakos Aug 26, 2025
99c5bbb
Use public methods for depot access.
mitchell-as Aug 26, 2025
cf53e2a
Update go to 1.24.6 to address CVEs
Naatan Aug 26, 2025
d1653da
Update to github.com/cloudflare/circl@v1.6.1
Naatan Aug 26, 2025
ae23900
Simplify depot Track function and make setup call it.
mitchell-as Aug 26, 2025
3998736
Use filesystem path equality, not string equality.
mitchell-as Aug 26, 2025
d974ae3
Update to github.com/labstack/echo/v4@v4.13.4
Naatan Aug 26, 2025
43bbc86
Tidy and vendor
Naatan Aug 26, 2025
867a099
Proposal: Use lockfile to avoid DB corruption
MDrakos Aug 26, 2025
efadd2a
Remove function
MDrakos Aug 26, 2025
89ae0b6
Use different tagsuite tag
MDrakos Aug 26, 2025
7f43b31
Revert update check changes
MDrakos Aug 26, 2025
dfd41dd
Debug gotestfmt issue
Naatan Aug 26, 2025
7b858ce
Fix test ID
Naatan Aug 26, 2025
84e33a7
Turn off go vet for testing for now
Naatan Aug 26, 2025
ed14b93
Set config as API global
MDrakos Aug 26, 2025
9c6d70d
Revert "Proposal: Use lockfile to avoid DB corruption"
MDrakos Aug 26, 2025
2de4240
Debug test
MDrakos Aug 26, 2025
a4c8d98
Fix test
MDrakos Aug 26, 2025
fe68723
Ensure service picks up on config change
MDrakos Aug 27, 2025
a95cba3
Disable failing unit test for now
Naatan Aug 27, 2025
bb3cd00
Raw tests always continue on error
Naatan Aug 27, 2025
3e95cab
Update comments.
mitchell-as Aug 27, 2025
199fc64
Help state-svc pick up api host changes
MDrakos Aug 27, 2025
f1be3a6
Allow configuration of update URL
MDrakos Aug 27, 2025
33fdf16
Disable keypair tests
Naatan Aug 27, 2025
59967fd
Respect environment variable value
MDrakos Aug 27, 2025
905974f
Merge pull request #3716 from ActiveState/mitchell/cp-956
mitchell-as Aug 28, 2025
1a798de
Always run integration tests on schedule
Naatan Aug 28, 2025
504a4af
Move global to reporter
MDrakos Aug 28, 2025
792555c
Register config listener when setting config
MDrakos Aug 28, 2025
c963853
Merge pull request #3719 from ActiveState/CP-1079
Naatan Aug 28, 2025
c82282b
Register listener when setting config
MDrakos Aug 28, 2025
6ec80e7
Bump github.com/ulikunitz/xz from 0.5.11 to 0.5.14
dependabot[bot] Aug 28, 2025
06c31a1
Remove globals
MDrakos Aug 28, 2025
1a88547
Merge pull request #3717 from ActiveState/miked/PIF-1050
MDrakos Aug 28, 2025
7c46686
Merge branch 'master' into miked/PIF-1051
MDrakos Aug 28, 2025
76b6d5c
Remove globals
MDrakos Aug 28, 2025
2d881b4
Attempt to fix gotestfmt issue
MDrakos Aug 28, 2025
34d5366
Merge branch 'master' into miked/CP-1054
MDrakos Aug 28, 2025
eaf5bf1
Try another test fix
MDrakos Aug 28, 2025
165658b
Another attempt
MDrakos Aug 28, 2025
6688d6c
Revert attempts to fix tests
MDrakos Aug 28, 2025
cb49f7b
feat: CP-1062 Remove excessive information returned from reading log …
samueld-activator Aug 15, 2025
495860d
Merge pull request #3720 from ActiveState/miked/CP-1054
MDrakos Aug 28, 2025
bb06110
Make URL struct member
MDrakos Aug 28, 2025
fee4843
Merge branch 'master' into miked/PIF-1051
MDrakos Aug 28, 2025
7483c85
Merge pull request #3718 from ActiveState/miked/PIF-1051
MDrakos Aug 28, 2025
24aa177
Return lines with error and print the previous 10 and next 10 lines
samueld-activator Aug 29, 2025
a1bfec0
fix: CP-1086 Specify latest timestamp (vs nil) when retrieving latest…
samueld-activator Aug 29, 2025
9f3e36e
Remove unnecessary logic from within for loop
samueld-activator Aug 29, 2025
6c7214a
Run secrets tests with larger bit size
Naatan Aug 29, 2025
2ad9338
Merge remote-tracking branch 'origin/master' into CP-1084
Naatan Aug 29, 2025
7ba6ee9
Fix integration test not properly sandboxed
Naatan Aug 29, 2025
020402c
Allow configuration of notifications URL
MDrakos Sep 2, 2025
caf6844
Add config flag support to installers
MDrakos Aug 29, 2025
47af6d6
Merge pull request #3725 from ActiveState/CP-1087
MDrakos Sep 2, 2025
c3d493e
Merge pull request #3724 from ActiveState/CP-1052
MDrakos Sep 2, 2025
db81479
Update CI to not deploy directly to production on release branches
MDrakos Sep 2, 2025
36d4396
Merge pull request #3721 from ActiveState/dependabot/go_modules/githu…
pablo-fb Sep 3, 2025
0aa1695
Update config to override correct URL
MDrakos Sep 3, 2025
dd35ebf
Add constant and update tests
MDrakos Sep 3, 2025
71ecc83
Merge pull request #3727 from ActiveState/CP-1054-follow-up
MDrakos Sep 3, 2025
173043d
Fix syntax error in install.sh
MDrakos Sep 4, 2025
f8e5ed4
Merge pull request #3728 from ActiveState/miked/CP-1090
MDrakos Sep 4, 2025
3a41998
Merge pull request #3710 from ActiveState/samueld/CP-1062
samueld-activator Sep 4, 2025
f25d8e3
Merge pull request #3722 from ActiveState/samueld/CP-1086
samueld-activator Sep 4, 2025
0cf8b0d
Initial ecosystem implementation for R.
mitchell-as Sep 5, 2025
7869038
Apply configuration settings earlier in installer
MDrakos Sep 5, 2025
7c35e92
Fixed panic when tracking artifacts from camel builds.
mitchell-as Sep 8, 2025
18170e2
Merge pull request #3731 from ActiveState/miked/PIF-installer-update
MDrakos Sep 8, 2025
7f2b338
Merge branch 'master' into CP-1084
mitchell-as Sep 8, 2025
bb0aad6
Merge branch 'mitchell/cp-1088' into CP-1084
mitchell-as Sep 8, 2025
0e57fc8
Minor adjustments to promoter script and CI configuration
MDrakos Sep 8, 2025
5f665ff
Merge pull request #3730 from ActiveState/mitchell/cp-1029
mitchell-as Sep 8, 2025
9243be3
Merge pull request #3732 from ActiveState/mitchell/cp-1088
mitchell-as Sep 8, 2025
4b74e59
Fixed failing RSA unit tests.
mitchell-as Sep 9, 2025
d1a16cb
Don't include state-mcp in public releases
Naatan Sep 9, 2025
6c45512
Don't default to arm64 yet; still testing
Naatan Sep 9, 2025
0134486
Merge pull request #3735 from ActiveState/CP-1103
Naatan Sep 9, 2025
5a8ebc8
Merge pull request #3733 from ActiveState/mitchell/cp-1084
mitchell-as Sep 9, 2025
465b2b2
Re-enable integration test.
mitchell-as Sep 9, 2025
9ea9a32
Merge pull request #3726 from ActiveState/CP-1073
MDrakos Sep 9, 2025
4962512
Remote installer respects and forwards config-set
Naatan Sep 9, 2025
9589781
Drop debugging statements
Naatan Sep 9, 2025
10b9cc4
Merge pull request #3736 from ActiveState/mitchell/cp-1107
mitchell-as Sep 9, 2025
dbef8d2
Drop unused import
Naatan Sep 9, 2025
7513962
Close config last
Naatan Sep 9, 2025
58e94d3
Merge pull request #3734 from ActiveState/CP-1101
Naatan Sep 9, 2025
a6b7b35
Merge pull request #3737 from ActiveState/CP-1106
Naatan Sep 10, 2025
b514b49
Add v48 commit to differ from master
Naatan Sep 11, 2025
5b744f7
Merge pull request #3712 from ActiveState/marcg/state_publish_whl
Naatan Sep 11, 2025
0b03fd3
Merge remote-tracking branch 'origin/master' into version/0-48-0-RC1
Naatan Sep 11, 2025
2474d8b
Fixed failing publish integration test.
mitchell-as Sep 15, 2025
4055f0f
Merge pull request #3741 from ActiveState/mitchell/cp-1128
mitchell-as Sep 15, 2025
9b91ac1
Added v48 changelog
Naatan Sep 15, 2025
20cdc35
Merge branch 'master' into version/0-48-0-RC1
Naatan Sep 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .github/deps/Linux/arm64/bin/parallelize
Binary file not shown.
126 changes: 61 additions & 65 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ jobs:
strategy:
matrix:
go-version:
- 1.22.12
- 1.24.6
sys:
- {os: ubuntu-latest}
- {os: macos-13, shell: zsh}
- {os: windows-2019}
- { os: ubuntu-latest }
- { os: macos-13, shell: zsh }
- { os: macos-latest, shell: zsh }
- { os: windows-2025 }
- { os: ubuntu-24.04-arm }
fail-fast: false
runs-on: ${{ matrix.sys.os }}
env:
Expand Down Expand Up @@ -74,29 +76,30 @@ jobs:

# === Install gotestfmt ===
- name: Set up gotestfmt
uses: gotesttools/gotestfmt-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest

- # === Install State Tool ===
name: Install State Tool
uses: ActiveState/setup-state-tool@v1
if: runner.os != 'Windows'
if: "!contains(matrix.sys.os, 'arm')"

- # === Install State Tool (Windows) ===
name: Install State Tool (Windows)
if: runner.os == 'Windows'
shell: pwsh
- # === Install State Tool (ARM64) ===
name: Install State Tool (ARM64)
if: contains(matrix.sys.os, 'arm')
shell: bash
run: |
Invoke-Expression -Command ".\installers\install.ps1 -n"
echo "$env:LOCALAPPDATA\ActiveState\StateTool\release\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Invoke-Expression "$env:LOCALAPPDATA\ActiveState\StateTool\release\bin\state config set optin.unstable true"
./installers/install.sh -b beta
echo "$HOME/.local/ActiveState/StateTool/beta/bin" >> $GITHUB_PATH
"$HOME/.local/ActiveState/StateTool/beta/bin/state" config set optin.unstable true

- # === Setup ===
name: Setup
shell: bash
run: |
bin=$(pwd)/.github/deps/${{ runner.os }}/bin
arch="amd64"
if [[ ${{ contains(matrix.sys.os, 'arm') }} = true ]]; then arch="arm64"; fi
bin=$(pwd)/.github/deps/${{ runner.os }}/$arch/bin
echo "Adding $bin to PATH"
echo "$bin" >> $GITHUB_PATH

Expand Down Expand Up @@ -135,7 +138,6 @@ jobs:
shell: bash
timeout-minutes: 15
run: |
export PATH="$(pwd)/.github/deps/${{ runner.os }}/bin:$PATH"
parallelize "$(cat <<'EOF'
[
{
Expand Down Expand Up @@ -169,13 +171,15 @@ jobs:
{
"ID": "Build-Executor",
"Args": ["state", "run", "build-exec"]
},
{
"ID": "Build-MCP",
"Args": ["state", "run", "build-mcp"]
}
]
EOF
)"
env:
CODE_SIGNING_PASSWD: ${{ secrets.CODE_SIGNING_PASSWD }}
MSI_CERT_BASE64: ${{ secrets.MSI_CERT_BASE64 }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JIRA_USERNAME: ${{ secrets.JIRA_EMAIL }}
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}
Expand All @@ -187,12 +191,19 @@ jobs:
if: "!contains(fromJSON('[\"refs/heads/beta\", \"refs/heads/release\", \"refs/heads/LTS\", \"refs/heads/master\"]'), github.ref) && !startsWith(github.event.pull_request.head.ref, 'version/')"
run: parallelize results Check-Format

- # === Raw Unit Tests ===
name: Raw Unit Tests
id: raw_unit_tests
shell: bash
run: parallelize results Unit-Tests
continue-on-error: true

- # === Unit Tests ===
name: Unit Tests
id: unit_tests
shell: bash
run: parallelize results Unit-Tests | gotestfmt -hide empty-packages
continue-on-error: ${{ github.event_name != 'schedule' }}
continue-on-error: true # This is captured by the "Check if Unit Tests Failed" step

- # === "Build: CLI" ===
name: "Build: CLI"
Expand Down Expand Up @@ -224,41 +235,10 @@ jobs:
shell: bash
run: parallelize results Build-Executor

- # === Prepare Windows Cert ===
name: Prepare Windows Cert
- # === "Build: MCP" ===
name: "Build: MCP"
shell: bash
if: runner.os == 'Windows'
run: |
echo $MSI_CERT_BASE64 | base64 --decode > Cert.p12
env:
MSI_CERT_BASE64: ${{ secrets.MSI_CERT_BASE64 }}

- # === Sign Binaries (Windows only) ===
name: Sign Binaries (Windows only)
shell: bash
if: runner.os == 'Windows' && contains(fromJSON('["refs/heads/beta", "refs/heads/release", "refs/heads/LTS"]'), github.ref)
run: |
export PATH=/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/:/c/Program\ Files\ \(x86\)/Windows\ Kits/10/bin/10.0.16299.0/x86/:$PATH

signtool.exe sign -d "ActiveState State Tool" -f "Cert.p12" -p ${CODE_SIGNING_PASSWD} ./build/state.exe
signtool.exe sign -d "ActiveState State Service" -f "Cert.p12" -p ${CODE_SIGNING_PASSWD} ./build/state-svc.exe
signtool.exe sign -d "ActiveState State Installer" -f "Cert.p12" -p ${CODE_SIGNING_PASSWD} ./build/state-installer.exe
signtool.exe sign -d "ActiveState State Tool Remote Installer" -f "Cert.p12" -p ${CODE_SIGNING_PASSWD} ./build/state-remote-installer.exe
env:
CODE_SIGNING_PASSWD: ${{ secrets.CODE_SIGNING_PASSWD }}

- # === Sign Install Scripts (Windows only) ===
name: Sign Install Scripts (Windows only)
shell: powershell
if: runner.os == 'Windows' && contains(fromJSON('["refs/heads/beta", "refs/heads/release", "refs/heads/LTS"]'), github.ref)
run: |
$branchInfix = $Env:GITHUB_REF.Replace("refs/heads/", "").Replace("release", "")
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2
$cert.Import('Cert.p12',$env:CODE_SIGNING_PASSWD,'DefaultKeySet')
Set-AuthenticodeSignature -FilePath build\installers\$branchInfix\install.ps1 -Certificate $cert
Set-AuthenticodeSignature -FilePath build\installers\$branchInfix\legacy-install.ps1 -Certificate $cert
env:
CODE_SIGNING_PASSWD: ${{ secrets.CODE_SIGNING_PASSWD }}
run: parallelize results Build-MCP

- # === Generate Update ===
name: Generate Update
Expand Down Expand Up @@ -299,6 +279,7 @@ jobs:
fi
fi

echo "Deploying for integration tests"
state run deploy-updates
state run deploy-installers
state run deploy-remote-installer
Expand Down Expand Up @@ -335,6 +316,10 @@ jobs:
fi
else
TEST_SUITE_TAGS="all"
if [[ ${{ contains(matrix.sys.os, 'arm') }} = true ]]; then
echo "Skipping integration tests on ARM"
exit 0
fi
fi

echo "Running integration tests with tags: $TEST_SUITE_TAGS (empty means every test not specifically tagged)"
Expand All @@ -352,9 +337,9 @@ jobs:
INTEGRATION_TEST_TOKEN: ${{ secrets.INTEGRATION_TEST_TOKEN }}
PLATFORM_API_TOKEN: ${{ secrets.PLATFORM_API_TOKEN }}

- # === Fail If Unscheduled Unit Tests Failed (Expand 'Unit Tests' above for more information) ===
name: Fail If Unscheduled Unit Tests Failed
if: github.event_name != 'schedule' && steps.unit_tests.outcome == 'failure'
- # === Check if Unit Tests Failed ===
name: Check if Unit Tests Failed
if: steps.unit_tests.outcome == 'failure'
shell: bash
run: exit 1

Expand Down Expand Up @@ -436,7 +421,7 @@ jobs:
name: Deploy
needs:
- scan
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
ACTIVESTATE_CI: true
SHELL: bash
Expand All @@ -458,7 +443,7 @@ jobs:
name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x

- # === Install State Tool ===
name: Install State Tool
Expand Down Expand Up @@ -508,15 +493,26 @@ jobs:
name: Deploy
shell: bash
run: |
state run deploy-updates
state run deploy-installers
state run deploy-remote-installer
# Deploy to staging for release branches, regular deploy for others
if [[ "$GITHUB_REF" == "refs/heads/beta" || "$GITHUB_REF" == "refs/heads/release" || "$GITHUB_REF" =~ ^refs/heads/LTS ]]; then
echo "Deploying to staging directory for release branch: $GITHUB_REF"
DEPLOY_TO_STAGING=true state run deploy-updates
DEPLOY_TO_STAGING=true state run deploy-installers
DEPLOY_TO_STAGING=true state run deploy-remote-installer
else
echo "Deploying normally for non-release branch: $GITHUB_REF"
state run deploy-updates
state run deploy-installers
state run deploy-remote-installer
fi

- # === Cleanup Session Artifacts ===
name: Cleanup Session Artifacts
uses: geekyeggo/delete-artifact@v5
with:
name: |
session-build-ubuntu-20.04
session-build-macos-11
session-build-windows-2019
session-build-ubuntu-latest
session-build-macos-13
session-build-macos-latest
session-build-windows-2025
session-build-ubuntu-24.04-arm
96 changes: 0 additions & 96 deletions .github/workflows/propagate.yml

This file was deleted.

13 changes: 3 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:

- # === Install Go ===
name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
go-version: '1.23.x'

- # === Install State Tool ===
name: Install State Tool
Expand All @@ -48,25 +48,18 @@ jobs:
shell: bash
timeout-minutes: 15
run: |
echo $MSI_CERT_BASE64 | base64 --decode > Cert.p12
export PATH=/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/:/c/Program\ Files\ \(x86\)/Windows\ Kits/10/bin/10.0.16299.0/x86/:$PATH

GOOS=windows state run build-remote-installer
signtool.exe sign -d "ActiveState State Tool Remote Installer" -f "Cert.p12" -p ${CODE_SIGNING_PASSWD} ./build/state-remote-installer.exe
state run generate-remote-install-deployment windows amd64

GOOS=linux state run build-remote-installer
state run generate-remote-install-deployment linux amd64

GOOS=darwin state run build-remote-installer
state run generate-remote-install-deployment darwin amd64
env:
CODE_SIGNING_PASSWD: ${{ secrets.CODE_SIGNING_PASSWD }}
MSI_CERT_BASE64: ${{ secrets.MSI_CERT_BASE64 }}

- # === Configure AWS credentials ==
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-session-name: ${{ env.AWS_ROLE_SESSION_NAME }}
Expand Down
Loading
Loading