Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
87d411bc
Unverified
Commit
87d411bc
authored
Apr 06, 2026
by
boojack
Committed by
GitHub
Apr 06, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(agents): align contributor guidance with current CI workflows (#5808)
parent
f403f8c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
AGENTS.md
AGENTS.md
+6
-2
No files found.
AGENTS.md
View file @
87d411bc
...
...
@@ -2,7 +2,7 @@
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Self-hosted note-taking tool. Go 1.26 backend (Echo v5, Connect RPC + gRPC-Gateway), React 18 + TypeScript
5.9
+ Vite 7 frontend, Protocol Buffers API, SQLite/MySQL/PostgreSQL.
Self-hosted note-taking tool. Go 1.26 backend (Echo v5, Connect RPC + gRPC-Gateway), React 18 + TypeScript
6
+ Vite 7 frontend, Protocol Buffers API, SQLite/MySQL/PostgreSQL.
## Commands
...
...
@@ -12,7 +12,9 @@ go run ./cmd/memos --port 8081 # Start dev server
go
test
./...
# Run all tests
go
test
-v
./store/...
# Run store tests (all 3 DB drivers via TestContainers)
go
test
-v
-race
./server/...
# Run server tests with race detection
go
test
-v
-race
./plugin/...
# Run plugin tests with race detection
go
test
-v
-run
TestFoo ./pkg/...
# Run a single test
go mod tidy
-go
=
1.26.1
# Match CI tidy check
golangci-lint run
# Lint (v2, config: .golangci.yaml)
golangci-lint run
--fix
# Auto-fix lint issues (includes goimports)
...
...
@@ -96,7 +98,9 @@ web/src/
## CI/CD
-
**backend-tests.yml:**
Go 1.26.1, golangci-lint v2.4.0, tests parallelized by group (store, server, plugin, other)
-
**backend-tests.yml:**
Go 1.26.1,
`go mod tidy -go=1.26.1`
, golangci-lint v2.11.3, tests parallelized by group (store, server, plugin, other)
-
**build-canary-image.yml:**
Builds frontend with
`pnpm release`
, then publishes canary multi-arch container images for linux/amd64 and linux/arm64
-
**frontend-tests.yml:**
Node 24, pnpm 10, lint + build
-
**proto-linter.yml:**
buf lint + format check
-
**release.yml:**
On version tags, builds frontend once, packages binaries for Linux/macOS/Windows, and publishes release container images/tags
-
**Docker:**
Multi-stage (
`scripts/Dockerfile`
), Alpine 3.21, non-root user, port 5230, multi-arch (amd64/arm64/arm/v7)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment