Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update turbo configuration #142

Merged
merged 16 commits into from
Mar 3, 2025
Merged

chore: update turbo configuration #142

merged 16 commits into from
Mar 3, 2025

Conversation

Sma1lboy
Copy link
Owner

@Sma1lboy Sma1lboy commented Mar 3, 2025

Summary by CodeRabbit

  • Chores
    • Streamlined build, start, and development commands to simplify workflows.
    • Added a new command to start the application using Turbo.
    • Introduced a new task configuration for improved build and start processes.
    • Enhanced module resolution capabilities for improved import handling.
    • Updated Docusaurus start command with specific port and no auto-open option.
    • Adjusted import paths for consistency with ECMAScript module syntax.
    • Introduced new continuous integration workflows for backend and LLM Server projects.

Copy link
Contributor

coderabbitai bot commented Mar 3, 2025

Warning

Rate limit exceeded

@Sma1lboy has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 7 minutes and 45 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 1b4456a and b3c10cb.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (6)
  • .github/workflows/backend-ci.yml (1 hunks)
  • .github/workflows/frontend-ci.yml (3 hunks)
  • .github/workflows/llm-server.yml (1 hunks)
  • codefox-common/package.json (1 hunks)
  • codefox-docs/package.json (1 hunks)
  • turbo.json (2 hunks)

Walkthrough

This pull request streamlines several build and start processes across multiple projects by updating various scripts in the package.json files. The changes remove intermediary build steps such as the execution of a common build script or cleaning of distribution folders. Additionally, command-line options and dependency positions have been adjusted, and new workflows for continuous integration have been introduced. Overall, the modifications simplify the command flows for building, starting, and developing the application components.

Changes

File(s) Change Summary
backend/package.json, llm-server/package.json Updated scripts to remove the build:common invocation. In the backend, the build script now directly runs nest build, the start script omits the --watch flag, and the dev script invokes pnpm start:dev. In llm-server, similar simplifications were applied, and the codefox-common dependency was relocated.
frontend/package.json Added a new script "build": "next build", and removed scripts that depended on build:common. The dependency declaration for codefox-common was also updated by removing the previous occurrence and adding it back in a different position.
codefox-common/package.json Modified the build script to remove the pre-build cleanup command (rimraf dist &&), allowing the build commands for CommonJS, ESM, and types to execute without removing the dist directory first.
codefox-docs/package.json Updated the build script by adding command-line options, changing it from "docusaurus start" to "docusaurus start --port 9999 --no-open".
package.json Introduced a new script "start": "turbo start" and appended a comma to the previous line to correct JSON formatting.
turbo.json Simplified the "build" task by removing its properties, and added a new "start" task that depends on "build" with caching disabled.
llm-server/tsconfig.json Added path mappings for codefox-common to enhance module resolution capabilities.
llm-server/src/downloader/model-downloader.ts, llm-server/src/downloader/universal-status.ts, llm-server/src/downloader/universal-utils.ts, llm-server/src/llm-provider.ts Updated import paths to specify the ES module version of codefox-common by changing from 'codefox-common' to 'codefox-common/dist/esm'.
.github/workflows/backend-ci.yml Introduced a new GitHub Actions workflow to automate CI for the backend, including steps for setup, dependency installation, and caching.
.github/workflows/frontend-ci.yml Removed the defaults section for the build job, now explicitly defining the working directory only for the Build frontend step.
.github/workflows/llm-server-ci.yml Introduced a new GitHub Actions workflow to automate CI for the LLM Server, including steps for setup, dependency installation, and caching.

Sequence Diagram(s)

sequenceDiagram
    participant Dev as Developer
    participant PM as Package Manager
    participant Builder as Build System

    Dev->>PM: Run Build Command
    alt Old Flow
        PM->>Builder: Execute "build:common"
        Builder->>Builder: Perform common build tasks
        PM->>Builder: Continue with framework build (e.g., nest build / next build)
    else New Flow
        PM->>Builder: Execute primary build command directly (e.g., nest build or next build)
    end
Loading

Suggested reviewers

  • ZHallen122

Poem

I’m a rabbit in the code garden, swift and neat,
Hopping past extra steps to a smoother beat.
Scripts now run with a single bound,
Carrots of clarity everywhere found.
Celebrate the changes with a joyful leap! 🐇✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
codefox-common/package.json (1)

12-12: Streamlined Build Process.
The "build" script was modified to remove a pre-cleaning step (i.e. reference to rimraf) and now runs the individual build steps consecutively. Note that a dedicated "clean" script still exists, so manual cleaning is possible if needed.

llm-server/package.json (1)

10-10: Minor Formatting in Build Script.
The "build" script currently contains a leading space in " tsc". Removing the extra space would improve consistency.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between cf05f1b and 5a843cd.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (6)
  • backend/package.json (2 hunks)
  • codefox-common/package.json (2 hunks)
  • codefox-docs/package.json (2 hunks)
  • frontend/package.json (2 hunks)
  • llm-server/package.json (2 hunks)
  • package.json (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: autofix
🔇 Additional comments (11)
package.json (1)

16-17: New Turbo Start Script and JSON Cleanup.
The new "start": "turbo start" script entry simplifies the startup process using Turbo, and the trailing comma on the "fix" script now ensures proper JSON formatting.

codefox-docs/package.json (1)

8-8: Enhanced Docusaurus Build Command.
The build script now explicitly sets the port to 9999 and disables auto-opening the browser (--no-open), which provides better control in development and CI environments.

llm-server/package.json (3)

7-8: Streamlined Start and Dev Commands.
Both the "start" and "dev" scripts have been updated to directly invoke nodemon with tsx, thereby removing unnecessary build steps and streamlining the development workflow.


16-16: Consistent Test Coverage Command.
The "test:cov" command remains configured properly with the necessary NODE options for coverage reporting.


22-22: Dependency Relocation Confirmed.
Moving the "codefox-common": "workspace:*" dependency to this position is acceptable as it does not affect the resolution. Ensure that consumers are aware of this new ordering if they rely on a specific dependency sequence.

backend/package.json (4)

10-10: Simplified Build Script.
The "build" script now directly invokes nest build after removing the dependency on build:common, which aligns with the project's move toward a more streamlined build process.


12-12: Lint Command Verification.
The lint command remains unchanged aside from potential whitespace adjustments. Verify that the use of ts-prune alongside ESLint still meets your project's linting strategy.


13-13: Updated Start Command.
The "start" script now omits the --watch flag, which is appropriate for production startup scenarios. Confirm that this aligns with the intended runtime behavior.


15-15: Consistent Dev Command.
The "dev" script now directly calls "pnpm start:dev", which simplifies the development workflow by eliminating the extra build step.

frontend/package.json (2)

6-6: Simplified Build Script with Next.js
The new "build": "next build" script streamlines the build process by directly triggering Next.js’s build command. This change helps remove the dependency on intermediary build steps and should result in a more maintainable configuration.


18-18: Dependency Update for codefox-common
The dependency "codefox-common": "workspace:*" has been (re)introduced in the dependencies section. Please verify that this workspace reference is intended and that it aligns with your monorepo’s dependency management. Confirm that no residual build dependencies or conflicts remain from the previous setup.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
turbo.json (1)

18-20: Clarify Format Task Configuration
The "format" task now explicitly specifies "outputs": []. Confirm that this configuration is intentional and that it meets your formatting task requirements. If the task is only for formatting purposes without generating artifacts, this configuration is appropriate—but document its purpose if needed for future maintainability.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f6668ae and e3b6684.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • codefox-common/package.json (1 hunks)
  • codefox-docs/package.json (1 hunks)
  • turbo.json (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • codefox-docs/package.json
  • codefox-common/package.json
🔇 Additional comments (3)
turbo.json (3)

5-8: Streamlined Build Task Configuration
The "build" task now removes the "inputs" and "outputs" properties and adds "cache": true for caching build results. This change aligns with the intent to simplify and optimize build operations. Double-check that enabling caching does not introduce side effects in environments where build inputs might change unexpectedly.


9-10: Simplified Development Tasks
Both "dev" and "dev:backend" tasks have been simplified to empty objects, effectively removing previous configurations (like persistent caching or other properties). Ensure that these stripped-down configurations still support the required developer workflow without unintended regressions.


21-23: New Start Task Addition
A new "start" task is introduced with "dependsOn": ["^build"] and "cache": false. This configuration ensures that the start-up process always utilizes a fresh build (by disabling caching), which can help avoid issues related to stale artifacts. Verify that this behavior is in line with your deployment and development strategies.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
codefox-common/package.json (1)

20-20: Modified Build Script: Validate Removal of Directory Cleanup
The updated "build" script now omits the "rimraf dist &&" command. Confirm that removing the automatic cleanup of the dist folder is an intentional change—ensuring that either stale build artifacts are handled elsewhere or acknowledged as acceptable in your new turbo configuration.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e3b6684 and 36c0d33.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (8)
  • codefox-common/package.json (1 hunks)
  • codefox-docs/package.json (1 hunks)
  • llm-server/src/downloader/model-downloader.ts (1 hunks)
  • llm-server/src/downloader/universal-status.ts (1 hunks)
  • llm-server/src/downloader/universal-utils.ts (1 hunks)
  • llm-server/src/llm-provider.ts (1 hunks)
  • llm-server/tsconfig.json (1 hunks)
  • turbo.json (2 hunks)
✅ Files skipped from review due to trivial changes (4)
  • llm-server/src/downloader/universal-utils.ts
  • llm-server/src/downloader/model-downloader.ts
  • llm-server/src/downloader/universal-status.ts
  • llm-server/src/llm-provider.ts
🚧 Files skipped from review as they are similar to previous changes (3)
  • codefox-docs/package.json
  • turbo.json
  • llm-server/tsconfig.json
🔇 Additional comments (1)
codefox-common/package.json (1)

8-15: New Exports Field Setup: Verify Export Resolution Paths
The newly added "exports" field properly defines dedicated entry points for CommonJS (require), type definitions (types), and ES module subpaths. Please ensure that the build process correctly outputs the files to the corresponding directories (dist/cjs/index.js, dist/types/index.d.ts, and dist/esm/index.js/./dist/esm/*).

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
codefox-common/package.json (2)

15-16: Review Wildcard Export Usage.
The wildcard mapping "./dist/*": "./dist/*" exposes all files within the dist directory. If your intent is to provide access to all compiled modules, this is fine. However, if some internal modules should remain private, consider restricting these exports to avoid accidental public exposure.


21-21: Evaluate Removal of the Clean Step in the Build Script.
The "build" script now omits the rimraf dist && command, which may speed up builds when using Turbo configuration if cleaning is managed elsewhere. Ensure that your build or CI/CD pipeline addresses potential stale artifacts in the dist folder to prevent unexpected issues.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 36c0d33 and 3611f31.

📒 Files selected for processing (1)
  • codefox-common/package.json (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: autofix
🔇 Additional comments (1)
codefox-common/package.json (1)

8-16: Clear Export Definitions for Module Resolution.
The new "exports" field is well-defined, explicitly mapping the package’s entry points for ES modules, CommonJS, and type declarations. This enhances module resolution and enforces a clean public API surface. Please verify that the paths (e.g., "./dist/esm/index.js") exactly match the build outputs produced by your TypeScript configurations.

…ts and setting working directory for build step
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (6)
codefox-common/package.json (1)

21-21: Simplify the Build Script with Caution

The "build" script has been streamlined by removing the rimraf dist && cleanup step. While this simplification reduces command complexity, ensure that any potential issues with stale build artifacts are managed (either by invoking the "clean" script explicitly in CI or as part of a pre-build process).

.github/workflows/frontend-ci.yml (1)

60-60: Newline and Trailing Whitespace Issue
Static analysis indicates there is no newline at the end of the file (YAMLlint error). Please add a newline at the end of the file to comply with formatting standards.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 60-60: no new line character at the end of file

(new-line-at-end-of-file)

.github/workflows/backend-ci.yml (2)

19-24: Action Versions: Checkout and Setup Node.js
The workflow currently uses actions/checkout@v3 and actions/setup-node@v3. Static analysis suggests these versions might be outdated. Consider updating to newer versions (e.g., checkout@v4 and setup-node@v4) to benefit from the latest features and fixes. For example:

-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
-        uses: actions/setup-node@v3
+        uses: actions/setup-node@v4
🧰 Tools
🪛 actionlint (1.7.4)

19-19: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


22-22: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🪛 YAMLlint (1.35.1)

[error] 20-20: trailing spaces

(trailing-spaces)


53-60: Cache Artifacts and Formatting Concerns
The caching setup for backend build artifacts is properly configured with unique keys based on the OS, pnpm lock file hash, and the current commit SHA. A couple of suggestions:

  • Consider updating the actions/cache usage if newer stable versions exist.
  • Also, note that static analysis flagged a missing newline at the end of the file and potential trailing whitespace issues. Please address these formatting issues.
🧰 Tools
🪛 actionlint (1.7.4)

53-53: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🪛 YAMLlint (1.35.1)

[error] 60-60: no new line character at the end of file

(new-line-at-end-of-file)

.github/workflows/llm-server-ci.yml (2)

18-24: Action Versions: Checkout and Setup Node.js
Similar to the backend workflow, this file uses actions/checkout@v3 and actions/setup-node@v3. It is recommended to update these steps to their latest versions to take advantage of improvements and security fixes. For instance:

-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
-        uses: actions/setup-node@v3
+        uses: actions/setup-node@v4
🧰 Tools
🪛 actionlint (1.7.4)

19-19: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


22-22: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🪛 YAMLlint (1.35.1)

[error] 20-20: trailing spaces

(trailing-spaces)


53-60: Cache Artifacts and Formatting Concerns
The caching step for LLM Server artifacts is well-configured with clear keys and restore keys. As with the other workflow files, there is a static analysis warning regarding a missing newline at the end of the file. Please add a newline and review any trailing whitespace issues. Additionally, consider updating the actions/cache@v3 action if newer versions are available.

🧰 Tools
🪛 actionlint (1.7.4)

53-53: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🪛 YAMLlint (1.35.1)

[error] 60-60: no new line character at the end of file

(new-line-at-end-of-file)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1891f6f and 1b4456a.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (6)
  • .github/workflows/backend-ci.yml (1 hunks)
  • .github/workflows/frontend-ci.yml (2 hunks)
  • .github/workflows/llm-server-ci.yml (1 hunks)
  • codefox-common/package.json (1 hunks)
  • codefox-docs/package.json (1 hunks)
  • turbo.json (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • codefox-docs/package.json
  • turbo.json
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/frontend-ci.yml

[error] 60-60: no new line character at the end of file

(new-line-at-end-of-file)

.github/workflows/backend-ci.yml

[error] 16-16: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


[error] 25-25: trailing spaces

(trailing-spaces)


[error] 31-31: trailing spaces

(trailing-spaces)


[error] 36-36: trailing spaces

(trailing-spaces)


[error] 44-44: trailing spaces

(trailing-spaces)


[error] 47-47: trailing spaces

(trailing-spaces)


[error] 51-51: trailing spaces

(trailing-spaces)


[error] 60-60: no new line character at the end of file

(new-line-at-end-of-file)

.github/workflows/llm-server-ci.yml

[error] 16-16: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


[error] 25-25: trailing spaces

(trailing-spaces)


[error] 31-31: trailing spaces

(trailing-spaces)


[error] 36-36: trailing spaces

(trailing-spaces)


[error] 44-44: trailing spaces

(trailing-spaces)


[error] 47-47: trailing spaces

(trailing-spaces)


[error] 51-51: trailing spaces

(trailing-spaces)


[error] 60-60: no new line character at the end of file

(new-line-at-end-of-file)

🪛 actionlint (1.7.4)
.github/workflows/backend-ci.yml

19-19: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


22-22: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


38-38: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


53-53: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

.github/workflows/llm-server-ci.yml

19-19: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


22-22: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


38-38: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


53-53: the runner of "actions/cache@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🔇 Additional comments (6)
codefox-common/package.json (1)

8-16: Define and Configure the Exports Field

The new "exports" field is clearly defined with separate entries for ES modules, CommonJS, types, and the default export. This setup facilitates proper module resolution for different environments and improves internal module referencing with the "./dist/*" wildcard. Please verify that these paths align with your intended distribution structure.

.github/workflows/frontend-ci.yml (1)

49-50: Explicit Build Directory for Frontend
The explicit declaration of working-directory: ./frontend in the "Build frontend" step is clear and ensures that the build command runs in the correct directory after removing the global defaults. Please confirm that all related build commands reference the correct path.

.github/workflows/backend-ci.yml (2)

1-16: New Backend CI Workflow Definition
The new workflow for the backend is well structured with clear triggers for changes in the backend/** directory. The overall job and step definitions appear sound and align with the intended build process.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 16-16: trailing spaces

(trailing-spaces)


49-50: Explicit Build Directory for Backend
The use of working-directory: ./backend in the "Build backend" step is clear and explicit. Ensure that the ./backend directory is correctly located at the repository root for the workflow to execute properly.

.github/workflows/llm-server-ci.yml (2)

1-16: New LLM Server CI Workflow Definition
The new LLM Server CI workflow is cleanly introduced with the appropriate triggers for the llm-server/** path. The job structure meets the CI requirements and properly segregates the steps for building the LLM Server application.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 16-16: trailing spaces

(trailing-spaces)


49-50: Explicit Build Directory for LLM Server
The use of working-directory: ./llm-server ensures that the build is executed in the proper directory. This change is consistent with the other workflow files, so please ensure that the directory structure remains consistent.

@Sma1lboy Sma1lboy merged commit 48ddc99 into main Mar 3, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant