Files
insomnia/.github/workflows/release-recurring.yml
Ryan Willis 1b6c776214 feat: LLM integrations + preferences (#9296)
* feat: integrate AI plugin and configure LLMs in preferences (#9192)

* poc: LLM configuration

* fix formatting + tidy script

* fix openpath type send method

* exempt node_modules from vitest

* reset package-lock for inso build

* switch from send/on to invoke/handle

* switch to pluginData

* remove unnecessary animation

* remove extraneous external defs in frontend bundle config

* rebase fix

* feat: mock server gen (#9201)

* add ipc handler methods in front of llm config service (#9202)

* feat: gemini first class config support (#9209)

* feat: add gemini as a backend

* fix: save api key the first time

* chore: call plugin from utility process (#9210)

* feat: additional mock server event tracking (#9215)

* feat(Git Commit): Automatically generate commits (#9164)

* feat: add AI-generated commit message functionality in staging modal

* feat: enhance AI commit message generation with error handling and improved UI

* fix: update button icon and text for commit generation state in staging modal

* feat: add diff functionality to Git service and integrate with AI commit message generation

* feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS

* feat: implement multiple commit functionality for Git VCS and integrate with staging modal

* feat: add validation for staged changes before generating commit messages

* feat: implement generateCommitsFromDiff functionality for AI commit message generation

* Cleanup staging modal and use tree data for reordering and submitting multiple commits

* Revert "feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS"

This reverts commit b731372debdfb07ac118d84900c2cecb635a34b4.

* feat: update type definitions for diff changes in Git VCS

* refactor: remove console logs and commented code from staging modal and AI commit generation

* feat: implement git commit generation process using a separate utility process for improved error handling and performance

* fix: improve error handling messages in AI commit generation

* chore: update optional dependency for AI plugin to alpha version 1.0.3

* fix: ensure data dir exists prior to reading (#9220)

* fix: ensure data dir exists prior to reading

* rename handler

* feat: mock server gen ux improvements (#9221)

* fix: include mockgen script in build (#9222)

* feat: add git commit generation process to build script (#9226)

* fix: set min height for git folder selector (#9242)

* chore: ai plugin 1.0.4 (#9243)

* feat: toggle ai features (#9232)

* feat: track commit generation and saving events for analytics (#9293)

* feat: add analytics tracking for commit message generation events

* fix: update segment event names to camelCase for consistency

* Update package-lock with the plugin modules

* fix(build): add x64ArchFiles option back (#9297)

* fix: autoselect self hosted mock when cloud mock disabled (#9299)

* fix: hide ai settings from scratch pad user (#9300)

---------

Co-authored-by: Shelby Moore <13246465+shelby-moore@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2025-10-23 10:41:39 +02:00

103 lines
3.2 KiB
YAML

name: Release Recurring
# This workflow bakes executables of the major platforms for Testing purposes
on:
merge_group:
workflow_dispatch:
push:
branches:
- develop
pull_request:
types:
- opened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PR_NUMBER: ${{ github.event.number }}
jobs:
build-and-upload-artifacts:
timeout-minutes: 45
# Skip jobs for release PRs
# windows on recurring should be portable
if: ${{ !startsWith(github.head_ref, 'release/') }}
runs-on: ${{ matrix.os }}
permissions:
packages: read
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest-large
build-targets: zip
- os: windows-latest
build-targets: portable
- os: ubuntu-22.04
build-targets: tar.gz
- os: ubuntu-22.04-arm
build-targets: tar.gz
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: package-lock.json
registry-url: 'https://npm.pkg.github.com'
scope: '@kong'
- name: Install packages
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install x64 version of native Mac dependencies
run: npm run install-x64-native-dependencies -w insomnia
if: ${{ matrix.os == 'macos-latest-large' }}
- name: Bump version
shell: bash
run: npm --workspaces version prerelease --preid="alpha-pr-$(git rev-parse --short HEAD)" --no-git-tag-version
- name: Package
shell: bash
run: NODE_OPTIONS='--max_old_space_size=6144' BUILD_TARGETS='${{ matrix.build-targets }}' npm run app-package
- name: Build and verify secure wrapper (Windows)
if: ${{ matrix.os == 'windows-latest' }}
shell: bash
run: NODE_OPTIONS='--max_old_space_size=6144' ./build-secure-wrapper.sh
# See https://github.com/electron/electron/issues/42510#issuecomment-2171583086
- if: ${{ runner.os == 'Linux' }}
name: Lift unprivileged user namespace restrictions
run: sudo sysctl kernel/apparmor_restrict_unprivileged_userns=0
- name: Test critical path on packaged electron app
run: npm run test:crit:package
env:
INSOMNIA_UPDATES_URL: http://localhost:4010
- name: Upload smoke test traces
uses: actions/upload-artifact@v4
if: failure()
with:
if-no-files-found: ignore
name: ${{ matrix.os }}-package-critical-test-traces-${{ github.run_number }}
path: packages/insomnia-smoke-test/traces
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
if-no-files-found: ignore
name: ${{ matrix.os }}-artifacts-${{ github.run_number }}
path: |
packages/insomnia/dist/*.exe
packages/insomnia/dist/*.tar.gz
packages/insomnia/dist/*.zip
packages/insomnia/dist/*.yml
packages/insomnia/dist/squirrel-windows/*.exe