Commit Graph

32 Commits

Author SHA1 Message Date
mkorwel 7c81b1837e pr clean up 2025-10-24 09:02:32 -07:00
mkorwel 5d1d0d569f fix(e2e): grant package read permissions to e2e job
This ensures the reusable e2e workflow has the necessary permissions to pull the sandbox image from GHCR.
2025-10-23 22:40:27 -07:00
mkorwel 0c21f374f3 fix(orchestrator): remove ci dependency from e2e workflow
The e2e workflow in orchestrator.yml was incorrectly depending on the ci workflow. These are separate concerns and e2e should not depend on ci. This commit removes the ci dependency from the e2e workflow.
2025-10-23 22:27:38 -07:00
mkorwel 4ee0820117 fix(ci): expand get-vars job and update dependencies in orchestrator
Expanded the `get-vars` job in `orchestrator.yml` to output `npm-registry-scope` and `npm-registry-url` in addition to `cli-package-name`. The `build-and-publish` and `e2e` jobs now correctly depend on `get-vars` and consume all three outputs, ensuring proper plumbing of environment variables for the Docker build.
2025-10-23 15:20:36 -07:00
mkorwel 070b74bb83 fix(ci): restore get-vars job to orchestrator workflow
Restores the `get-vars` job to the `orchestrator` workflow. This job was accidentally removed and is necessary for passing the `CLI_PACKAGE_NAME` to the `e2e` tests, which is required for the Docker build.
2025-10-23 15:14:08 -07:00
mkorwel 973573ef49 fix(ci): restore ci job to orchestrator workflow
Re-adds the `ci` job to the `orchestrator` workflow, which was
accidentally removed. The `e2e` job is also updated to correctly
depend on the `ci` job.
2025-10-23 14:42:29 -07:00
mkorwel 6f4c9a5317 fix(ci): correct workflow variable passing
- Adds explicit inputs for variables required by the reusable
  `build-and-publish` workflow.
- Updates the `orchestrator` workflow to pass these variables correctly.
- Removes a duplicated job from the `orchestrator` workflow.
2025-10-23 14:36:29 -07:00
mkorwel 14707b6d5e refactor(ci): consolidate sandbox build into publish workflow
- Moves the sandbox build and publish logic into the main
  `build-and-publish` workflow.
- The sandbox image is now built *after* the NPM package is published,
  and uses the published package.
- Removes the redundant `build-sandbox` and `release-sandbox` workflows.
- Updates the `orchestrator` workflow to reflect these changes.
2025-10-23 09:52:11 -07:00
mkorwel 0d55843c4a incorporating docker into new orchestrator 2025-10-23 08:40:10 -07:00
mkorwel 1da17999c7 linting 2025-10-22 14:01:32 -07:00
mkorwel e03dc0d603 fix: correct invalid workflow syntax in orchestrator 2025-10-22 13:36:32 -07:00
mkorwel 6058c1be45 feat: address PR feedback
- Use reusable npmrc action in workflows
- Make package name dynamic in e2e tests
- Add rationale for configure-registry script
- Force orchestrator to run in dev environment
2025-10-22 13:31:07 -07:00
mkorwel be08763cfa fix(ci): Pass GEMINI_API_KEY secret to E2E workflow 2025-10-22 12:34:19 -07:00
mkorwel dc2aa1ead7 fix: Centralize workflow concurrency in orchestrator 2025-10-22 12:27:39 -07:00
mkorwel 430e9c68d7 refactor(ci): Move bundle size check to a parallel job
Creates a new reusable workflow, 'bundle-size.yml', to handle the bundle size check.

This check is now run in a separate job in the main 'orchestrator.yml' workflow, parallel to the 'e2e' job. This optimizes the CI pipeline by allowing the E2E tests to start as soon as the bundle is published, without waiting for the size check to complete.
2025-10-22 00:54:20 -07:00
mkorwel 1a5742efec refactor(ci): Create reusable lint workflow and define dependencies
Creates a new reusable workflow, 'lint.yml', to handle all linting operations.

The main 'orchestrator.yml' is updated to use this new workflow. The dependency chain is now explicitly defined: 'lint' runs first, followed by 'build-and-publish' and 'ci' in parallel. The 'e2e' job remains dependent on 'build-and-publish'.

This change also removes the now-unused 'version' input from 'ci.yml' and corrects the 'bundle_size' job to use 'npm ci'.
2025-10-21 22:29:22 -07:00
mkorwel f6727cc14f fix(workflows): Add packages:read permission and rename orchestrator
Adds 'packages: read' permission to the 'ci.yml' and 'e2e.yml' workflows. This is necessary to allow the jobs to download packages from the GitHub Packages registry, fixing the 403 Forbidden error during 'npm install'.

Also renames the 'orchestrator.yml' workflow from 'PR Checks' to 'Checks' for brevity.
2025-10-21 21:48:31 -07:00
mkorwel 2e0bf57e63 linting 2025-10-21 21:40:43 -07:00
mkorwel a6c9eaabf6 Feat: Implement dynamic versioning and PR-based tagging for CI builds 2025-10-21 21:08:37 -07:00
mkorwel dc3072c597 Fix: Remove concurrency from orchestrator.yml to resolve deadlock 2025-10-21 20:54:49 -07:00
mkorwel cc5ce59dca waht hwat 2025-10-21 20:40:27 -07:00
mkorwel 1eba9123de what 2025-10-21 20:38:19 -07:00
mkorwel 7226817a6b fix(ci): correct syntax in orchestrator permissions 2025-10-21 20:37:07 -07:00
mkorwel 111c598ed9 fix(ci): correct syntax in orchestrator permissions 2025-10-21 20:26:51 -07:00
mkorwel d66884a38b fix(ci): restore full explicit permissions to orchestrator 2025-10-21 20:25:47 -07:00
mkorwel 4155f7404b fix(ci): simplify orchestrator permissions to read-all 2025-10-21 20:23:56 -07:00
mkorwel 6038f48241 fix(ci): add all required read permissions to orchestrator 2025-10-21 20:20:02 -07:00
mkorwel af5b5d5ccc fix(ci): add actions:read permission to orchestrator 2025-10-21 20:18:51 -07:00
mkorwel 2530610a59 fix(ci): grant check and status write permissions to orchestrator 2025-10-21 20:17:20 -07:00
mkorwel 69f9bfb67b fix(ci): add permissions to orchestrator workflow 2025-10-21 20:13:05 -07:00
mkorwel 4955b470db orchestrator 2025-10-21 20:07:37 -07:00
mkorwel ff3398f297 feat(ci): Implement orchestrator workflow for unified build and test 2025-10-21 19:21:59 -07:00