Commit Graph

26 Commits

Author SHA1 Message Date
Kacper
1fc40da052 ci: add shared packages build step to CI workflows
Add build:packages script and update setup-project action to build
shared packages after npm install. This ensures @automaker/* packages
are compiled before apps can use them.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 01:11:53 +01:00
Cody Seibert
1ad3b1739b Merge branch 'main' into refactor/frontend 2025-12-19 14:42:31 -05:00
Kacper
419e954230 feat: add setup-project action for common CI setup steps
Introduced a new GitHub Action to streamline project setup in CI workflows. This action handles Node.js setup, dependency installation, and native module rebuilding, replacing repetitive steps in multiple workflow files. Updated e2e-tests, pr-check, and test workflows to utilize the new action, enhancing maintainability and reducing duplication.
2025-12-18 20:59:33 +01:00
Kacper
0d8043f1f2 fix(ci): rebuild node-pty after install to fix native module errors
The --ignore-scripts flag also skips building native modules like
node-pty which the server needs. Added explicit rebuild step for
node-pty in test.yml and e2e-tests.yml workflows.

This is more targeted than electron-builder install-app-deps which
rebuilds ALL native modules and causes OOM.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 12:33:58 +01:00
Kacper
2c079623a8 fix(ci): add --ignore-scripts to Linux native bindings install
The npm install for Linux bindings was also triggering electron-builder
postinstall script. Added --ignore-scripts to all three workflows.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 12:21:43 +01:00
Kacper
899c45fc1b fix(ci): skip postinstall scripts to avoid OOM in all workflows
electron-builder install-app-deps rebuilds native modules and uses
too much memory, causing npm install to be killed (exit code 143).

Updated workflows:
- e2e-tests.yml
- test.yml
- pr-check.yml

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 12:20:14 +01:00
Kacper
b0a9c89157 chore: add directory output options for Electron builds
- Introduced new build commands for Electron in package.json to support directory output.
- Updated CI workflow to utilize the new directory-only build command for faster execution.
2025-12-17 20:57:13 +01:00
Kacper
c20b224f30 ci: update e2e workflow for Vite migration
- Change workspace from apps/app to apps/ui
- Update env vars from NEXT_PUBLIC_* to VITE_*
- Update artifact paths for playwright reports

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 20:46:55 +01:00
Cody Seibert
02e378905e chore: add lockfile linting check and convert SSH URLs to HTTPS
- Add npm script to check for SSH URLs in package-lock.json
- Convert electron/node-gyp dependency from SSH to HTTPS URL
- Add workflow step to lint lockfile in CI environment

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2025-12-15 20:21:09 -05:00
Cody Seibert
049f9a9e37 chore: add Git configuration for HTTPS in workflow files to support CI environment 2025-12-15 19:19:23 -05:00
Cody Seibert
19f1c32805 chore: update Node.js version in workflow files from 20 to 22 2025-12-15 19:08:00 -05:00
Cody Seibert
20a7c8b5a8 feat: implement E2E testing workflow and enhance XML syntax editor
- Added a new GitHub Actions workflow for end-to-end (E2E) testing, including setup for Node.js, Playwright, and server initialization.
- Introduced a setup script for E2E test fixtures to create necessary directories and files.
- Integrated CodeMirror for XML syntax editing in the XmlSyntaxEditor component, improving code highlighting and editing experience.
- Updated package dependencies in package.json and package-lock.json to include new libraries for XML handling and theming.
- Refactored various components for improved readability and consistency, including the sidebar and file browser dialog.
- Added tests for spec editor persistence to ensure data integrity across sessions.
2025-12-14 14:12:38 -05:00
Kacper
673dcd1113 chore: add installation of Linux native bindings in CI workflows to address npm optional dependencies issue 2025-12-13 21:49:16 +01:00
Kacper
4d0d15d1d5 ci: add GitHub Actions workflow for test suite
- Added test.yml workflow to run on PRs and pushes to main/master
- Runs server tests with coverage on every PR
- Commented out Codecov integration (can be enabled when token is configured)
- Added test:server:coverage script to root package.json
- Adjusted coverage thresholds to match current coverage levels:
  - lines: 70% (current: 72.73%)
  - statements: 70% (current: 72.65%)
  - branches: 64% (current: 64.66%)
  - functions: 80% (current: 80.87%)

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-13 13:43:15 +01:00
Kacper
4ba82e131a ci: add GitHub Actions workflow for test suite
- Added test.yml workflow to run on PRs and pushes to main/master
- Runs server tests with coverage on every PR
- Uploads coverage reports to Codecov
- Added test:server:coverage script to root package.json
- Coverage thresholds enforced: 80% lines/functions, 75% branches

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-13 13:35:19 +01:00
Cody Seibert
f71533ab17 feat: improve URL accessibility checks and download handling
- Enhanced the URL accessibility check function to handle multiple redirect types and provide detailed feedback on accessibility status, including content type validation.
- Updated the download function to follow redirects correctly and ensure proper error handling, improving the reliability of downloading source archives from GitHub.
- Adjusted the main function to utilize the final URLs after redirects for downloading, ensuring accurate resource retrieval.
2025-12-13 11:53:26 +01:00
Cody Seibert
8709b5d34b feat: implement URL accessibility check with exponential backoff
- Added a new function to check the accessibility of URLs with retries and exponential backoff, improving the reliability of downloading source archives from GitHub.
- Updated the main function to wait for the source archives to be accessible before proceeding with the download, enhancing error handling and user feedback.
2025-12-13 11:53:26 +01:00
Cody Seibert
88a059ca52 chore: specify shell for version extraction in release workflow
- Updated the release workflow to explicitly set the shell to bash for the version extraction steps, ensuring consistent execution across environments.
2025-12-13 11:53:26 +01:00
Cody Seibert
f3ffb22487 testing releases 2025-12-13 11:53:26 +01:00
Cody Seibert
80cbabeeb0 various fixes 2025-12-13 11:48:53 +01:00
Cody Seibert
813ede2dde chore: update .gitignore and add R2 upload script for artifact management
- Added .automaker/images/ to .gitignore to prevent tracking of generated images.
- Deleted obsolete agent-output.md and feature.json files related to removed "Agent Tools" feature.
- Introduced a new script for uploading build artifacts to R2 and updating releases.json.
- Enhanced GitHub Actions workflow to include artifact uploads for different platforms.
2025-12-12 10:39:12 -05:00
Cody Seibert
8b62bf9817 trying stuff 2025-12-11 22:43:57 -05:00
Cody Seibert
2cc9e47747 chore: update GitHub workflows for consistency and clarity
- Standardized quotes in YAML files for better readability.
- Adjusted cache-dependency-path to point to the correct location.
- Removed unnecessary working-directory specifications to simplify the workflow.
2025-12-11 21:14:17 -05:00
Cody Seibert
1bb20e5070 refactor: restructure project to monorepo with apps directory 2025-12-11 20:34:49 -05:00
Cody Seibert
67a448ce91 feat: add PR build check workflow and enhance feature management
- Introduced a new GitHub Actions workflow for PR build checks to ensure code quality and consistency.
- Updated `analysis-view.tsx`, `interview-view.tsx`, and `setup-view.tsx` to incorporate a new `Feature` type for better feature management.
- Refactored various components to improve code readability and maintainability.
- Adjusted type imports in `delete-project-dialog.tsx` and `settings-navigation.tsx` for consistency.
- Enhanced project initialization logic in `project-init.ts` to ensure proper type handling.
- Updated Electron API types in `electron.d.ts` for better clarity and functionality.
2025-12-10 23:10:04 -05:00
Cody Seibert
ac5b562f7a feat(protection): implement multi-layered protection for feature_list.json
Introduces a comprehensive strategy to safeguard the feature_list.json file from accidental modifications. Key enhancements include:

1. **Prompt-Level Warnings**: Added explicit warnings in agent prompts to prevent direct modifications.
2. **Dedicated MCP Tool**: Implemented the UpdateFeatureStatus tool for safe feature updates.
3. **File-Level Validation & Auto-Backup**: Added validation checks and automatic backups before modifications to prevent data loss.
4. **Tool Access Control**: Restricted agent access to critical tools, ensuring only the designated MCP tool can modify the feature list.

This update significantly reduces the risk of catastrophic data loss and ensures a robust feature management process.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2025-12-09 19:47:10 -05:00