Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
07f29d0
feat(opencode): migrate CodeNomad to native V2
pascalandr Aug 12, 2026
c66aac7
fix(opencode): harden the shared V2 runtime
pascalandr Aug 13, 2026
e94d788
fix(restore): migrate legacy OpenCode startup state
pascalandr Aug 14, 2026
a4ccc3a
fix(v2): restore session routing and isolate client state
pascalandr Aug 14, 2026
4b96f46
fix(v2): complete native runtime parity
pascalandr Aug 14, 2026
c025bfc
merge(dev): integrate desktop workspace controls
pascalandr Aug 14, 2026
9a53e2f
fix(v2): isolate runtime defaults
pascalandr Aug 14, 2026
e996196
fix(v2): follow current OpenCode runtime
pascalandr Aug 14, 2026
04cb287
fix(v2): isolate Windows WebView state
pascalandr Aug 15, 2026
d7efb4b
fix(v2): stabilize streaming and startup restore
pascalandr Aug 15, 2026
39d5138
fix(v2): render native response deltas progressively
pascalandr Aug 15, 2026
e4595fb
fix(v2): sustain native response streaming
pascalandr Aug 15, 2026
20de5d2
fix(v2): preserve virtual timeline navigation
pascalandr Aug 16, 2026
37af6c8
Merge branch 'dev' into DEV-v2
pascalandr Aug 17, 2026
485731c
fix(v2): stabilize native restoration and form handling
pascalandr Aug 18, 2026
aca2e4c
fix(ci): make WSL and spawn tests portable
pascalandr Aug 18, 2026
34c1831
fix(settings): preserve migrated database variables
pascalandr Aug 18, 2026
929cc6e
fix(ui): replace duplicate legacy questions with V2 forms
pascalandr Aug 18, 2026
18919e1
feat(ui): show short V2 form choices inline
pascalandr Aug 18, 2026
fd1fd55
fix(native): reconcile cross-host startup markers
pascalandr Aug 18, 2026
61cb41e
fix(ui): apply late native scroll seeds
pascalandr Aug 18, 2026
b0e1714
ci(windows): serialize native lifecycle tests
pascalandr Aug 18, 2026
3c98f45
fix(server): keep timer types portable
pascalandr Aug 18, 2026
59a48f7
fix(ui): keep long native choices compact
pascalandr Aug 18, 2026
db3bfbc
fix(ui): map V2 workspace request selectors
pascalandr Aug 18, 2026
3bfaaaf
perf(ui): target V2 state invalidations
pascalandr Aug 18, 2026
cfb970d
refactor(events): preserve native V2 envelopes
pascalandr Aug 18, 2026
b2a97a8
perf(ui): resync only after reconnects
pascalandr Aug 18, 2026
7e99df9
fix(ui): wait for paginated restore anchors
pascalandr Aug 18, 2026
0cac5ca
fix(ui): release follow on middle-button scroll
pascalandr Aug 18, 2026
d2783ee
fix(ui): render prompts before native admission
pascalandr Aug 18, 2026
ae6a2a8
fix(ui): preserve streaming follow invariants
pascalandr Aug 18, 2026
c4bc08e
fix(settings): restore OpenCode V2 updates
pascalandr Aug 18, 2026
1419821
docs(v2): make runtime handoff procedure explicit
pascalandr Aug 18, 2026
97d4645
fix(ui): stabilize V2 runtime status panels
pascalandr Aug 18, 2026
e4a2bde
fix(server): expose active V2 plugin metadata
pascalandr Aug 18, 2026
68abdc6
fix(i18n): describe active plugin state
pascalandr Aug 18, 2026
a820f80
fix(ui): keep native forms visually stable
pascalandr Aug 18, 2026
775c6c6
refactor(v2): remove dead migration scaffolding
pascalandr Aug 18, 2026
4c65e60
test(v2): remove redundant migration coverage
pascalandr Aug 18, 2026
fe12ff0
ci(v2): authorize stacked migration PRs
pascalandr Aug 18, 2026
4359b4b
fix(v2): align with current OpenCode client contract
pascalandr Aug 18, 2026
249a96e
fix(v2): close native integration review gaps
pascalandr Aug 19, 2026
ef70a8b
fix(v2): harden reconciliation and worktree rollback
pascalandr Aug 19, 2026
af22f58
fix(ui): replace optimistic prompt after native projection
pascalandr Aug 19, 2026
3b5f443
style(ui): remove trailing whitespace
pascalandr Aug 19, 2026
affdb96
fix(v2): keep forms and worktree deletion fail-safe
pascalandr Aug 19, 2026
a2d5df9
fix(forms): allow required custom select values
pascalandr Aug 19, 2026
e1987b9
fix(v2): decouple runtime CLI version
pascalandr Aug 19, 2026
109a8ee
fix(ui): reconcile prompt admission identity
pascalandr Aug 19, 2026
5484f9c
fix(v2): use native shells for background processes
pascalandr Aug 19, 2026
b5f3fc6
feat(v2): unify global service and desktop windows
pascalandr Aug 20, 2026
ec543e3
test(server): support configured TypeScript target
pascalandr Aug 20, 2026
2c9ced6
fix(v2): harden reconnect and desktop state recovery
pascalandr Aug 20, 2026
db0464f
fix(v2): stabilize catalog and transcript loading
pascalandr Aug 20, 2026
52a9589
fix(ui): keep session hydration state accurate
pascalandr Aug 20, 2026
161aebb
fix(workspaces): restore duplicate folder tabs
pascalandr Aug 20, 2026
8fe238f
refactor(workspaces): inline canonical path resolution
pascalandr Aug 20, 2026
a3f7e3b
refactor(electron): remove obsolete single-window lifecycle
pascalandr Aug 20, 2026
f03a17a
docs(v2): document the complete migration scope
pascalandr Aug 20, 2026
3417916
fix(v2): close current desktop parity gaps
pascalandr Aug 20, 2026
6ef68ed
refactor(v2): remove verified dead migration code
pascalandr Aug 20, 2026
ab9b857
docs(v2): record official desktop comparison
pascalandr Aug 20, 2026
290ad3d
fix(v2): harden state authority across reconnects
pascalandr Aug 21, 2026
2a29836
test(server): avoid ES2022 array access
pascalandr Aug 21, 2026
2f08770
fix(ui): restore V2 sessions without blocking first paint
pascalandr Aug 21, 2026
8f5aad8
fix(electron): make failed client-state release retryable
pascalandr Aug 21, 2026
2714fab
fix(electron): block close when renderer state cannot persist
pascalandr Aug 21, 2026
c51e40e
fix(server): harden shared location ownership cleanup
pascalandr Aug 21, 2026
08dd380
fix(v2): preserve shared service and worktree authority
pascalandr Aug 21, 2026
7df0974
fix(desktop): serialize V2 navigation and process shutdown
pascalandr Aug 21, 2026
3445de6
fix(ui): restore shell status and reasoning details
pascalandr Aug 21, 2026
be6cf9f
fix(electron): retain state ownership after failed drain
pascalandr Aug 21, 2026
082ba90
fix(server): fence worktree deletion against session admission
pascalandr Aug 21, 2026
4c702cd
fix(ui): bound retained shell output
pascalandr Aug 21, 2026
7a8d06d
fix(tauri): serialize CLI restart with shutdown
pascalandr Aug 21, 2026
b78697f
fix(server): drain session mutations before worktree deletion
pascalandr Aug 21, 2026
006522f
fix(server): fence deletion through upstream completion
pascalandr Aug 21, 2026
97ebfe5
fix(electron): recover CLI after failed state release
pascalandr Aug 21, 2026
d9b0755
fix(tauri): bound CLI restart shutdown authority
pascalandr Aug 21, 2026
12563d2
fix(ui): preserve shell output truncation boundaries
pascalandr Aug 21, 2026
8ac7453
fix(server): fence worktrees by physical identity
pascalandr Aug 21, 2026
00fcee3
fix(ui): truncate shell output at safe boundaries
pascalandr Aug 21, 2026
73d5480
fix(server): harden shared OpenCode and worktree admission
pascalandr Aug 22, 2026
87417db
fix(ui): stop Solid stale reads from blanking session switches
pascalandr Aug 23, 2026
021dee3
fix(ui): keep settled forms and permissions from coming back
pascalandr Aug 23, 2026
be268f7
fix(ui): replace the resident 200-message window instead of growing it
pascalandr Aug 23, 2026
01f23e2
fix(ui): stop the model picker from inventing a selection
pascalandr Aug 23, 2026
3845064
feat(server): show xAI and OAuth quota without guessing a model
pascalandr Aug 23, 2026
e2b784f
feat(server): sync quota providers with openchamber
pascalandr Aug 23, 2026
af84de3
fix(opencode): follow the latest beta channel
pascalandr Aug 23, 2026
a640081
fix(v2): harden shared OpenCode lifecycle and session recovery
pascalandr Aug 24, 2026
b12166e
fix(ui): keep compaction deltas off the render path
pascalandr Aug 24, 2026
5c367f6
fix(ui): align the model field with sidebar selectors
pascalandr Aug 24, 2026
f54edd4
fix(ui): inherit the model selector background
pascalandr Aug 24, 2026
b541aad
fix(v2): restore workspace and session UI authority
pascalandr Aug 24, 2026
477729c
Merge branch 'dev' into DEV-v2
pascalandr Aug 24, 2026
3c35688
fix(tauri): keep native navigation authoritative
pascalandr Aug 25, 2026
430ed2a
fix(ui): restore model and session authority
pascalandr Aug 25, 2026
5121a3d
ci: add the OpenCode V2 prerelease channel
pascalandr Aug 25, 2026
5062760
fix(desktop): isolate OpenCode V2 prerelease state
pascalandr Aug 25, 2026
9491bce
Merge branch 'dev' into DEV-v2
pascalandr Aug 25, 2026
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
  •  
  •  
  •  
82 changes: 1 addition & 81 deletions .github/workflows/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces --include=optional

- name: Ensure rollup native binary
run: npm install @rollup/rollup-darwin-x64 --no-save

- name: Build macOS binaries (Electron)
run: npm run build:mac --workspace @neuralnomads/codenomad-electron-app

Expand Down Expand Up @@ -256,9 +253,6 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces --include=optional

- name: Ensure rollup native binary
run: npm install @rollup/rollup-win32-x64-msvc --no-save

- name: Build Windows binaries (Electron)
run: npm run build:win --workspace @neuralnomads/codenomad-electron-app

Expand Down Expand Up @@ -308,9 +302,6 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces --include=optional

- name: Ensure rollup native binary
run: npm install @rollup/rollup-linux-x64-gnu --no-save

- name: Build Linux binaries (Electron)
run: npm run build:linux --workspace @neuralnomads/codenomad-electron-app

Expand Down Expand Up @@ -451,29 +442,12 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces --include=optional

- name: Ensure rollup native binary
run: npm install @rollup/rollup-darwin-x64 --no-save

- name: Prebuild (Tauri)
run: npm run prebuild --workspace @codenomad/tauri-app

- name: Verify bundled Node resource (Tauri macOS x64)
run: node scripts/verify-bundled-node.cjs packages/tauri-app/src-tauri/resources@darwin-x64

- name: Ensure tauri native binary
working-directory: packages/tauri-app
run: |
set -euo pipefail
for attempt in 1 2 3; do
if [ "$attempt" -gt 1 ]; then
echo "Retrying Tauri CLI install (attempt $attempt)..."
fi
npm install @tauri-apps/cli@2.9.4 @tauri-apps/cli-darwin-x64@2.9.4 --no-save --no-audit --no-fund --workspaces=false
node -e "require('@tauri-apps/cli'); console.log('Tauri CLI loaded')" && exit 0
done
echo "Tauri CLI failed to load after retries" >&2
exit 1

- name: Build macOS bundle (Tauri)
working-directory: packages/tauri-app
run: npm exec -- tauri build
Expand Down Expand Up @@ -541,29 +515,12 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces --include=optional

- name: Ensure rollup native binary
run: npm install @rollup/rollup-darwin-arm64 --no-save

- name: Prebuild (Tauri)
run: npm run prebuild --workspace @codenomad/tauri-app

- name: Verify bundled Node resource (Tauri macOS arm64)
run: node scripts/verify-bundled-node.cjs packages/tauri-app/src-tauri/resources@darwin-arm64

- name: Ensure tauri native binary
working-directory: packages/tauri-app
run: |
set -euo pipefail
for attempt in 1 2 3; do
if [ "$attempt" -gt 1 ]; then
echo "Retrying Tauri CLI install (attempt $attempt)..."
fi
npm install @tauri-apps/cli@2.9.4 @tauri-apps/cli-darwin-arm64@2.9.4 --no-save --no-audit --no-fund --workspaces=false
node -e "require('@tauri-apps/cli'); console.log('Tauri CLI loaded')" && exit 0
done
echo "Tauri CLI failed to load after retries" >&2
exit 1

- name: Build macOS bundle (Tauri, arm64)
working-directory: packages/tauri-app
run: npm exec -- tauri build
Expand Down Expand Up @@ -632,30 +589,12 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces --include=optional

- name: Ensure rollup native binary
run: npm install @rollup/rollup-win32-x64-msvc --no-save

- name: Prebuild (Tauri)
run: npm run prebuild --workspace @codenomad/tauri-app

- name: Verify bundled Node resource (Tauri Windows)
run: node scripts/verify-bundled-node.cjs packages/tauri-app/src-tauri/resources@win32-x64

- name: Ensure tauri native binary
shell: bash
working-directory: packages/tauri-app
run: |
set -euo pipefail
for attempt in 1 2 3; do
if [ "$attempt" -gt 1 ]; then
echo "Retrying Tauri CLI install (attempt $attempt)..."
fi
npm install @tauri-apps/cli@2.9.4 @tauri-apps/cli-win32-x64-msvc@2.9.4 --no-save --no-audit --no-fund --workspaces=false
node -e "require('@tauri-apps/cli'); console.log('Tauri CLI loaded')" && exit 0
done
echo "Tauri CLI failed to load after retries" >&2
exit 1

- name: Build Windows bundle (Tauri)
shell: bash
working-directory: packages/tauri-app
Expand Down Expand Up @@ -739,29 +678,12 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces --include=optional

- name: Ensure rollup native binary
run: npm install @rollup/rollup-linux-x64-gnu --no-save

- name: Prebuild (Tauri)
run: npm run prebuild --workspace @codenomad/tauri-app

- name: Verify bundled Node resource (Tauri Linux)
run: node scripts/verify-bundled-node.cjs packages/tauri-app/src-tauri/resources@linux-x64

- name: Ensure tauri native binary
working-directory: packages/tauri-app
run: |
set -euo pipefail
for attempt in 1 2 3; do
if [ "$attempt" -gt 1 ]; then
echo "Retrying Tauri CLI install (attempt $attempt)..."
fi
npm install @tauri-apps/cli@2.9.4 @tauri-apps/cli-linux-x64-gnu@2.9.4 --no-save --no-audit --no-fund --workspaces=false
node -e "require('@tauri-apps/cli'); console.log('Tauri CLI loaded')" && exit 0
done
echo "Tauri CLI failed to load after retries" >&2
exit 1

- name: Build Debian package (Tauri)
working-directory: packages/tauri-app
run: npm exec -- tauri build --bundles deb
Expand Down Expand Up @@ -953,11 +875,9 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces --include=optional

- name: Ensure rollup native binary
run: npm install @rollup/rollup-linux-arm64-gnu --no-save

- name: Build Linux bundle (Tauri arm64)
env:
CODENOMAD_NODE_TARGET: linux-arm64
TAURI_BUILD_TARGET: aarch64-unknown-linux-gnu
PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comment-pr-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
shell: bash
run: |
set -euo pipefail
if [ "$BASE_REF" = "dev" ]; then
if [ "$BASE_REF" = "dev" ] || [ "$BASE_REF" = "DEV-v2" ]; then
echo "allowed=true" >> "$GITHUB_OUTPUT"
exit 0
fi
Expand Down
75 changes: 75 additions & 0 deletions .github/workflows/dev-v2-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: OpenCode V2 Pre-Release

on:
schedule:
# Nightly build of DEV-v2 (only if its current commit has not been released).
- cron: "30 1 * * *"
workflow_dispatch:

permissions:
id-token: write
contents: write

concurrency:
group: dev-v2-prerelease
cancel-in-progress: true

jobs:
gate:
runs-on: ubuntu-latest
outputs:
run: ${{ steps.gate.outputs.run }}
dev_v2_sha: ${{ steps.gate.outputs.dev_v2_sha }}
version_suffix: ${{ steps.gate.outputs.version_suffix }}
steps:
- name: Decide whether to run
id: gate
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail

api() {
curl -sS \
-H "Authorization: Bearer ${GH_TOKEN}" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"$1"
}

DEV_V2_SHA=$(api "https://api.github.com/repos/${GITHUB_REPOSITORY}/git/ref/heads/DEV-v2" | jq -r '.object.sha')
if [ -z "$DEV_V2_SHA" ] || [ "$DEV_V2_SHA" = "null" ]; then
echo "Failed to resolve DEV-v2 head SHA" >&2
exit 1
fi

DATE=$(date -u +%Y%m%d)
SHA8="${DEV_V2_SHA::8}"
VERSION_SUFFIX="-dev-v2-${DATE}-${SHA8}"
SHOULD_RUN="true"

if [ "${GITHUB_EVENT_NAME}" != "workflow_dispatch" ]; then
RELEASED=$(api "https://api.github.com/repos/${GITHUB_REPOSITORY}/releases?per_page=100" | jq --arg suffix "-${SHA8}" '[.[] | select(.prerelease == true and (.tag_name | startswith("v0.20.0-dev-v2-")) and (.tag_name | endswith($suffix)))] | length')
if [ "$RELEASED" -gt 0 ]; then
SHOULD_RUN="false"
fi
fi

echo "run=${SHOULD_RUN}" >> "$GITHUB_OUTPUT"
echo "dev_v2_sha=${DEV_V2_SHA}" >> "$GITHUB_OUTPUT"
echo "version_suffix=${VERSION_SUFFIX}" >> "$GITHUB_OUTPUT"

prerelease:
needs: gate
if: ${{ needs.gate.outputs.run == 'true' }}
uses: ./.github/workflows/reusable-release.yml
with:
ref: ${{ needs.gate.outputs.dev_v2_sha }}
base_version: 0.20.0
version_suffix: ${{ needs.gate.outputs.version_suffix }}
npm_package_name: "@neuralnomads/codenomad-dev"
dist_tag: v2
prerelease: true
release_ui: false
secrets: inherit
40 changes: 35 additions & 5 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
shell: bash
run: |
set -euo pipefail
if [ "$BASE_REF" = "dev" ]; then
if [ "$BASE_REF" = "dev" ] || [ "$BASE_REF" = "DEV-v2" ]; then
echo "allowed=true" >> "$GITHUB_OUTPUT"
exit 0
fi
Expand Down Expand Up @@ -98,47 +98,77 @@ jobs:
- name: Typecheck desktop clients
run: npm run typecheck

- name: Test desktop packaging invariants
run: node --test scripts/desktop-server-resources.test.cjs

- name: Test Electron client state
run: npm run test:native --workspace @neuralnomads/codenomad-electron-app

- name: Test changed runnable UI behavior
run: >-
node --import tsx --test
packages/ui/src/components/browser-frame-security.test.ts
packages/ui/src/components/message-history-pagination.test.ts
packages/ui/src/components/message-timeline-v2.test.ts
packages/ui/src/components/provider-auth/provider-options.test.ts
packages/ui/src/components/session/session-bottom-pin-intent.test.ts
packages/ui/src/components/session/session-idle-attention.test.ts
packages/ui/src/components/session-list-visibility.test.ts
packages/ui/src/components/unified-picker-path.test.ts
packages/ui/src/components/virtual-follow-behavior.test.ts
packages/ui/src/lib/client-identity.test.ts
packages/ui/src/lib/filesystem-events.test.ts
packages/ui/src/lib/hooks/use-app-session-capture.test.ts
packages/ui/src/lib/hooks/use-instance-metadata.test.ts
packages/ui/src/lib/hooks/use-foreground-refresh.test.ts
packages/ui/src/lib/hooks/use-electron-folder-launch.test.ts
packages/ui/src/lib/launch-errors.test.ts
packages/ui/src/lib/message-selection-position.test.ts
packages/ui/src/lib/model-visibility.test.ts
packages/ui/src/lib/runtime-env.test.ts
packages/ui/src/lib/trailing-resync.test.ts
packages/ui/src/stores/abort-created-workspace-cleanup.test.ts
packages/ui/src/stores/app-session-reconciliation.test.ts
packages/ui/src/stores/app-session-restore-gate.test.ts
packages/ui/src/stores/app-session-restore-queue.test.ts
packages/ui/src/stores/app-session-restore-timeout.test.ts
packages/ui/src/stores/app-session-snapshot-merge.test.ts
packages/ui/src/stores/restore-workspace-commit-gates.test.ts
packages/ui/src/stores/client-state-codec.test.ts
packages/ui/src/stores/client-state-partitions.test.ts
packages/ui/src/stores/client-state.test.ts
packages/ui/src/stores/instances-restore-cancellation.test.ts
packages/ui/src/stores/form-settlements.test.ts
packages/ui/src/stores/message-prompt-display.test.ts
packages/ui/src/stores/message-v2/instance-store.test.ts
packages/ui/src/stores/message-v2/message-hydration-authority.test.ts
packages/ui/src/stores/message-v2/message-status.test.ts
packages/ui/src/stores/message-v2/message-window.test.ts
packages/ui/src/stores/message-v2/normalizers.test.ts
packages/ui/src/stores/shell-store.test.ts
packages/ui/src/stores/session-generation-recovery.test.ts
packages/ui/src/stores/session-metadata.test.ts
packages/ui/src/stores/session-pagination.test.ts
packages/ui/src/stores/session-pending-state.test.ts
packages/ui/src/stores/workspace-load-readiness.test.ts
packages/ui/src/types/session.test.ts
packages/ui/src/stores/workspace-list-reconciliation-fence.test.ts

- name: Test restore ownership integration
run: >-
node --conditions=browser --import tsx --test --test-force-exit
packages/ui/src/components/form-request-tool-target.test.ts
packages/ui/src/components/form-request.test.ts
packages/ui/src/components/session/provider-usage-panel.test.ts
packages/ui/src/lib/hooks/use-active-session-message-load.test.ts
packages/ui/src/stores/app-tabs.test.ts
packages/ui/src/stores/forms.test.ts
packages/ui/src/stores/instances-restore-ownership.test.ts
packages/ui/src/stores/opencode-data.test.ts
packages/ui/src/stores/permission-lifecycle.test.ts
packages/ui/src/stores/shell-store-reactivity.test.ts
packages/ui/src/stores/session-actions.test.ts
packages/ui/src/stores/session-native-events.test.ts
packages/ui/src/stores/session-request-authority.test.ts
packages/ui/src/stores/session-send-lifecycle.test.ts
packages/ui/src/stores/session-status.test.ts

- name: Test server
run: node --import tsx --test "packages/server/src/**/*.test.ts"
Expand Down Expand Up @@ -184,4 +214,4 @@ jobs:

- name: Test Tauri crate on Windows
working-directory: packages/tauri-app/src-tauri
run: cargo test --locked
run: cargo test --locked -- --test-threads=1
4 changes: 2 additions & 2 deletions .github/workflows/restrict-non-dev-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
restrict-non-dev-prs:
if: ${{ github.event.pull_request.base.ref != 'dev' }}
if: ${{ github.event.pull_request.base.ref != 'dev' && github.event.pull_request.base.ref != 'DEV-v2' }}
runs-on: ubuntu-latest
env:
ALLOWED_ACTORS: ${{ vars.ALLOWED_NON_DEV_PR_ACTORS }}
Expand All @@ -39,7 +39,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr comment "$PR_NUMBER" --body "Thanks for the contribution. PRs need to target \`dev\` branch. Please retarget this PR to the dev branch"
gh pr comment "$PR_NUMBER" --body "Thanks for the contribution. PRs need to target the \`dev\` or \`DEV-v2\` branch. Please retarget this PR to an authorized development branch."

- name: Close unauthorized PR
if: ${{ steps.auth.outputs.authorized != 'true' }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/reusable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
required: false
default: ""
type: string
base_version:
description: "Base version override (defaults to package.json version)"
required: false
default: ""
type: string
dist_tag:
description: "npm dist-tag to publish under"
required: false
Expand Down Expand Up @@ -62,9 +67,10 @@ jobs:
- name: Compute release versions
id: versions
env:
BASE_VERSION_INPUT: ${{ inputs.base_version }}
VERSION_SUFFIX: ${{ inputs.version_suffix }}
run: |
BASE_VERSION=$(node -p "require('./package.json').version")
BASE_VERSION=${BASE_VERSION_INPUT:-$(node -p "require('./package.json').version")}
VERSION="${BASE_VERSION}${VERSION_SUFFIX}"
TAG="v${VERSION}"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
Expand Down
Loading
Loading