Skip to content

Commit fae6c47

Browse files
authored
Release v6.3.0 into Main
2 parents 240c6fe + b0d4832 commit fae6c47

135 files changed

Lines changed: 5849 additions & 6830 deletions

File tree

Some content is hidden

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

.github/workflows/code.ai-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
});
144144
145145
- name: Configure AWS Credentials
146-
uses: aws-actions/configure-aws-credentials@v5
146+
uses: aws-actions/configure-aws-credentials@v6
147147
with:
148148
aws-region: ${{ vars.AWS_REGION }}
149149
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/${{ vars.ROLE_NAME_TO_ASSUME }}

.github/workflows/code.deploy.demo.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
environment: demo
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
23+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2424
- name: Configure AWS Credentials
25-
uses: aws-actions/configure-aws-credentials@cf459bd40262a8603163308e488de922e4eb5a95 # v4
25+
uses: aws-actions/configure-aws-credentials@6e631f05b2a5f53c9f1e27150d5e8af2f907b03b # v4
2626
with:
2727
aws-region: ${{ vars.AWS_REGION }}
2828
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/${{ vars.ROLE_NAME_TO_ASSUME }}
@@ -33,11 +33,11 @@ jobs:
3333
run: |
3434
echo "${{vars.CONFIG_YAML}}" > config-custom.yaml
3535
- name: Set up Python 3.13
36-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v5
36+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v5
3737
with:
3838
python-version: "3.13"
3939
- name: Use Node.js 24.x
40-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v4
40+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4
4141
with:
4242
node-version: 24.x
4343
- name: Install CDK dependencies

.github/workflows/code.deploy.dev.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
environment: dev
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
23+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2424
- name: Configure AWS Credentials
25-
uses: aws-actions/configure-aws-credentials@cf459bd40262a8603163308e488de922e4eb5a95 # v4
25+
uses: aws-actions/configure-aws-credentials@6e631f05b2a5f53c9f1e27150d5e8af2f907b03b # v4
2626
with:
2727
aws-region: ${{ vars.AWS_REGION }}
2828
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/${{ vars.ROLE_NAME_TO_ASSUME }}
@@ -33,11 +33,11 @@ jobs:
3333
run: |
3434
echo "${{vars.CONFIG_YAML}}" > config-custom.yaml
3535
- name: Set up Python 3.13
36-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v5
36+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v5
3737
with:
3838
python-version: "3.13"
3939
- name: Use Node.js 24.x
40-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v4
40+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4
4141
with:
4242
node-version: 24.x
4343
- name: Install CDK dependencies

.github/workflows/code.draft-release-and-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
if: (startsWith(github.event.pull_request.head.ref, 'release/' ) || startsWith(github.event.pull_request.head.ref, 'hotfix/')) && github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
1717
steps:
1818
- name: Checkout Source Tag
19-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2020
with:
2121
ref: main
2222
- name: Get Version

.github/workflows/code.end-to-end-test.nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
runs-on: ubuntu-latest
2929
needs: notify_e2e_start
3030
steps:
31-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
31+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
3232
with:
3333
ref: develop
3434
- name: Setup Node.js
35-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v4
35+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4
3636
with:
3737
node-version: '24'
3838
cache: 'npm'
@@ -47,7 +47,7 @@ jobs:
4747
run: npx cypress run --config-file cypress/cypress.e2e.config.ts
4848
- name: Archive Cypress videos & screenshots
4949
if: failure() || always()
50-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
50+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v4
5151
with:
5252
name: cypress-e2e-artifacts
5353
path: |

.github/workflows/code.hotfix.branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
pull-requests: write # Required for creating PRs
2222
steps:
2323
- name: Checkout Source Tag
24-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2525
with:
2626
ref: refs/tags/${{ github.event.inputs.source_tag }}
2727
- name: Create Hotfix Branch and Update Version

.github/workflows/code.merge.main-to-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
contents: write # Required for merging branches
1515
steps:
1616
- name: Checkout main
17-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
1818
with:
1919
ref: main
2020
ssh-key: ${{ secrets.DEPLOYMENT_SSH_KEY }}

.github/workflows/code.publish.yml

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,55 +25,72 @@ jobs:
2525
contents: write # Required for uploading release assets
2626
id-token: write # Required for npm trusted publishing (OIDC)
2727
steps:
28-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
28+
# Free up disk space (~30GB+) by removing preinstalled software we don't need
29+
- name: Free disk space
30+
run: |
31+
sudo rm -rf /usr/share/dotnet
32+
sudo rm -rf /usr/local/lib/android
33+
sudo rm -rf /opt/ghc
34+
sudo rm -rf /opt/hostedtoolcache/CodeQL
35+
sudo rm -rf /opt/hostedtoolcache/go
36+
sudo rm -rf /opt/hostedtoolcache/Ruby
37+
sudo rm -rf /usr/local/share/powershell
38+
sudo rm -rf /usr/local/share/chromium
39+
sudo rm -rf /usr/local/lib/heroku
40+
sudo rm -rf /usr/share/swift
41+
sudo docker image prune --all --force
42+
df -h
43+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2944
# Setup .npmrc file to publish to NpmJs Packages
30-
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v4
45+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4
3146
with:
3247
node-version: '24.x'
3348
registry-url: 'https://registry.npmjs.org'
3449

3550
# Setup Python for build scripts
36-
- uses: actions/setup-python@v5
51+
- uses: actions/setup-python@v6
3752
with:
3853
python-version: '3.13'
3954

55+
4056
# Install npm dependencies and publish package. Auth is established with NpmJs Trusted publishing.
4157
# To update, modify package at https://www.npmjs.com/package/awslabs-lisa/access
4258
# More info: https://docs.npmjs.com/trusted-publishers
4359
- run: npm ci
60+
# Set version from input when running in test mode
61+
- name: Set test version
62+
if: github.event_name == 'workflow_dispatch'
63+
run: npm version "${{ inputs.version }}" --no-git-tag-version --allow-same-version
4464
- name: Publish NPM Package
45-
if: github.event_name == 'release' || !inputs.test_mode
65+
if: "!(github.event_name == 'workflow_dispatch' && inputs.test_mode == true)"
4666
run: npm publish
4767
- name: Publish NPM Package (Dry Run)
48-
if: github.event_name == 'workflow_dispatch' && inputs.test_mode
68+
if: github.event_name == 'workflow_dispatch' && inputs.test_mode == true
4969
run: npm publish --dry-run
50-
51-
# Build binary assets (lambda layers and container images)
52-
- name: Build Lambda Layers and Container Images
53-
run: |
54-
# Create build directory for lambda layers
55-
mkdir -p build
56-
57-
# Build assets (runs build-lambdas and build-images --export)
58-
./bin/build-assets
70+
# Install Python dependencies needed by build scripts
71+
- name: Install Python build dependencies
72+
run: pip install tiktoken==0.12.0
73+
# Build and export container images (separate from npm publish to avoid OOM)
74+
- name: Build Container Images
75+
run: ./bin/build-images --export
5976
env:
6077
PYPI_URL: https://pypi.org/simple
6178
LISA_VERSION: ${{ github.event_name == 'release' && github.event.release.tag_name || inputs.version }}
6279

6380
# Upload binary assets to GitHub Release
6481
- name: Upload Release Assets
65-
if: github.event_name == 'release' || !inputs.test_mode
82+
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.test_mode == false)
6683
uses: softprops/action-gh-release@v2
6784
with:
85+
tag_name: ${{ github.event_name == 'release' && github.event.release.tag_name || inputs.version }}
6886
files: |
69-
dist/layers/*.zip
7087
dist/images/*.tar
7188
env:
7289
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7390

7491
# In test mode, just list what would be uploaded
7592
- name: List Build Artifacts (Test Mode)
76-
if: github.event_name == 'workflow_dispatch' && inputs.test_mode
93+
if: github.event_name == 'workflow_dispatch' && inputs.test_mode == true
7794
run: |
7895
echo "=== Lambda Layers (dist/layers/*.zip) ==="
7996
ls -lh dist/layers/*.zip 2>/dev/null || echo "No zip files found"

.github/workflows/code.release.branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
pull-requests: write # Required for creating PRs
2020
steps:
2121
- name: Checkout Develop Branch
22-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2323
with:
2424
ref: develop
2525
fetch-depth: 0 # Fetch full history for proper branch comparison
2626
ssh-key: ${{ secrets.DEPLOYMENT_SSH_KEY }}
2727
- name: Configure AWS Credentials
28-
uses: aws-actions/configure-aws-credentials@cf459bd40262a8603163308e488de922e4eb5a95 # v4
28+
uses: aws-actions/configure-aws-credentials@6e631f05b2a5f53c9f1e27150d5e8af2f907b03b # v4
2929
with:
3030
aws-region: ${{ vars.AWS_REGION }}
3131
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/${{ vars.ROLE_NAME_TO_ASSUME }}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
1818

1919
- name: Setup Node.js
20-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v4
20+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4
2121
with:
2222
node-version: '24'
2323
cache: 'npm'
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Archive Cypress videos & screenshots
4444
if: failure() || always()
45-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
45+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v4
4646
with:
4747
name: cypress-smoke-artifacts
4848
path: |

0 commit comments

Comments
 (0)