12 Commits

Author SHA1 Message Date
Nate Sesti
f66df60a2d Add configurable interval option to oneper cron setup (#6849)
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2025-07-30 11:31:32 -07:00
Patrick Erichsen
62bbe2edca create pr-build-upload-vsix.yaml 2025-07-29 11:53:15 -07:00
Patrick Erichsen
78334571d2 Merge latest main changes
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 16:39:41 -07:00
Nate Sesti
3dfe00dd27 Nate/oneper-main (#6838)
* update oneper to by default download build from man

* republish instead of rebuilding

* deafult to a pr

* undo auto-release for now

* force install in oneper

* update oneper

* don't run on this branch

* feat: setup-cron and remove-cron
2025-07-28 16:38:04 -07:00
Patrick Erichsen
81dd2c3112 Reapply "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811)
This reverts commit 880786b66f.
2025-07-28 14:15:49 -07:00
Patrick Erichsen
880786b66f Revert "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811) 2025-07-28 08:07:06 -07:00
Patrick Erichsen
0bab51eae5 refactor: update build system and oneper script for commit SHA versioning
- Update main.yaml workflow to use reusable build-vscode-extension.yml
- Fix oneper script to properly handle commit SHA-based versioning
- Switch packages to use local file:// references for better dev experience
- Update build scripts to handle fetch package dependencies correctly
- Add VS Code task for building packages with extension

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 19:10:16 -07:00
Patrick Erichsen
f173cf4dc1 simplify: use commit SHA for all version modifications
- Replace separate PR number and commit ID logic with unified approach
- Always use first 7 characters of commit SHA for version suffix
- Both PR and main builds now use format: 1.1.67-a1b2c3d
- Simpler logic, consistent naming across all build types
- Updated oneper script messaging accordingly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 19:03:08 -07:00
Patrick Erichsen
9b32a6c345 Update oneper 2025-07-24 18:16:27 -07:00
Patrick Erichsen
717ea1b91a refactor: modify package.json version in workflow instead of script
- Add pre-build step to modify package.json version with PR number
- Remove complex VSIX unzip/rezip logic from oneper script
- Cleaner approach that modifies version before building
- Only runs on pull_request events to avoid affecting main builds

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 18:15:07 -07:00
Ting-Wai To
ac594e4eec fix: oneper script to auto detect os 2025-07-24 16:51:08 -07:00
Patrick Erichsen
da1758ea7a feat: create oneper util script (#6783)
* feat: create `oneper` util

* Update oneper

* Update oneper

* feat: add cross-platform VSIX builds

- Update vscode-package-extension job to build on both ubuntu and macos
- Add platform-specific artifact names (vscode-extension-build-Linux/macOS)
- Update oneper script to support --platform flag (macos/linux)
- Change VSIX naming to continue-VERSION-PR.vsix format
- Remove unnecessary unzip dependency check

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: ensure dependencies are installed in matrix packaging job

The macOS packaging job was failing because dependencies weren't
available from cache. Added fallback npm ci commands to install
dependencies if node_modules directories don't exist.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: use matrix strategy for dependency jobs

Instead of fallback npm ci commands, update the dependency jobs
(install-core, install-config-yaml, install-openai-adapters, install-vscode)
to also use the matrix strategy. This ensures proper cross-platform
dependency caching and cleaner builds.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: add reload instructions to --latest command

Consistency improvement - both --pr and --latest installations
now show reload instructions to help users activate the new
extension version.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-24 16:42:48 -07:00