Skip to content

Go - #12042

Open
1Patrik1 wants to merge 6 commits into
continuedev:mainfrom
1Patrik1:main
Open

Go#12042
1Patrik1 wants to merge 6 commits into
continuedev:mainfrom
1Patrik1:main

Conversation

@1Patrik1

@1Patrik1 1Patrik1 commented Apr 5, 2026 •

Copy link
Copy Markdown

Description

[ What changed? Feel free to be brief. ]

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screen recording or screenshot

[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]

Tests

[ What tests were added or updated to ensure the changes work as expected? ]


Summary by cubic

Set up CI for linting, testing, and TypeScript type checks on pushes and PRs to main. Added a root ESLint config and a small README comment.

  • New Features
    • Add CI workflows: lint (eslint + prettier), tests (Node 20; runs in core and binary; uploads coverage), and TypeScript type-check.
    • Add root .eslintrc.json extending .eslintrc.shared.json.
    • Add a bot instruction comment to the README.

Written for commit c04a2f7. Summary will update on new commits.

continue Bot and others added 6 commits October 31, 2025 18:26
This adds a comment to the README instructing bots to read carefully.

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: Ting-Wai To <tingwai@continue.dev>
Add bot instruction comment to README

This adds a comment to the README instructing bots to read carefully.

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: Ting-Wai To <tingwai@continue.dev>
@1Patrik1
1Patrik1 requested a review from a team as a code owner April 5, 2026 19:54
@1Patrik1
1Patrik1 requested review from sestinj and removed request for a team April 5, 2026 19:54
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 5, 2026
@github-actions

github-actions Bot commented Apr 5, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@1Patrik1

1Patrik1 commented Apr 5, 2026

Copy link
Copy Markdown
Author

Vše schvaluji

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

5 issues found across 5 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/lint.yml">

<violation number="1" location=".github/workflows/lint.yml:13">
P2: Lint workflow does not configure a pinned Node.js version, making CI behavior dependent on changing runner defaults.</violation>

<violation number="2" location=".github/workflows/lint.yml:20">
P2: Use `npm ci` instead of `npm install` in CI to ensure deterministic lint dependencies and avoid dependency drift.</violation>
</file>

<file name=".github/workflows/test.yml">

<violation number="1" location=".github/workflows/test.yml:28">
P2: CI workflow uses `npm install` instead of `npm ci`, reducing install reproducibility and consistency with existing CI jobs.</violation>

<violation number="2" location=".github/workflows/test.yml:32">
P1: Workflow is configured to ignore test failures, allowing CI to pass even when tests fail.</violation>
</file>

<file name=".github/workflows/type-check.yml">

<violation number="1" location=".github/workflows/type-check.yml:1">
P1: Workflow YAML was committed with literal `\n` escapes on one line, which can prevent GitHub Actions from parsing and running the type-check job.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.

Comment thread .github/workflows/test.yml
@@ -0,0 +1 @@
name: TypeScript Type Checking\n\non:\n push:\n branches:\n - main\n pull_request:\n branches:\n - main\n\njobs:\n type-check:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout repository\n uses: actions/checkout@v2\n \n - name: Setup Node.js\n uses: actions/setup-node@v2\n with:\n node-version: '14'\n \n - name: Install dependencies\n run: |\n npm install\n \n - name: Type Check\n run: |\n npm run type-check\n env:\n CI: true\n No newline at end of file

@cubic-dev-ai cubic-dev-ai Bot Apr 5, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1: Workflow YAML was committed with literal \n escapes on one line, which can prevent GitHub Actions from parsing and running the type-check job.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/type-check.yml, line 1:

<comment>Workflow YAML was committed with literal `\n` escapes on one line, which can prevent GitHub Actions from parsing and running the type-check job.</comment>

<file context>
@@ -0,0 +1 @@
+name: TypeScript Type Checking\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  type-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n        \n      - name: Setup Node.js\n        uses: actions/setup-node@v2\n        with:\n          node-version: '14'\n        \n      - name: Install dependencies\n        run: |\n          npm install\n        \n      - name: Type Check\n        run: |\n          npm run type-check\n        env:\n          CI: true\n
\ No newline at end of file
</file context>
Fix with Cubic


- name: Install dependencies
run: |
npm install

@cubic-dev-ai cubic-dev-ai Bot Apr 5, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2: Use npm ci instead of npm install in CI to ensure deterministic lint dependencies and avoid dependency drift.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/lint.yml, line 20:

<comment>Use `npm ci` instead of `npm install` in CI to ensure deterministic lint dependencies and avoid dependency drift.</comment>

<file context>
@@ -0,0 +1,28 @@
+
+      - name: Install dependencies
+        run: |
+          npm install
+
+      - name: Run ESLint
</file context>
Fix with Cubic

@@ -0,0 +1,28 @@
name: Lint

@cubic-dev-ai cubic-dev-ai Bot Apr 5, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2: Lint workflow does not configure a pinned Node.js version, making CI behavior dependent on changing runner defaults.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/lint.yml, line 13:

<comment>Lint workflow does not configure a pinned Node.js version, making CI behavior dependent on changing runner defaults.</comment>

<file context>
@@ -0,0 +1,28 @@
+
+jobs:
+  lint:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout code
</file context>
Fix with Cubic

cache: 'npm'

- name: Install dependencies
run: npm install

@cubic-dev-ai cubic-dev-ai Bot Apr 5, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2: CI workflow uses npm install instead of npm ci, reducing install reproducibility and consistency with existing CI jobs.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/test.yml, line 28:

<comment>CI workflow uses `npm install` instead of `npm ci`, reducing install reproducibility and consistency with existing CI jobs.</comment>

<file context>
@@ -0,0 +1,40 @@
+          cache: 'npm'
+
+      - name: Install dependencies
+        run: npm install
+
+      - name: Run tests for core
</file context>
Suggested change
run: npm install
run: npm ci
Fix with Cubic

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant