Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
d8a69ec
build(deps): bump the actions-minor-patch group across 1 directory wi…
dependabot[bot] Oct 29, 2026
8163772
build(deps): bump the python-minor-patch group across 2 directories w…
dependabot[bot] Oct 29, 2026
a003c05
feat: bring Konflux fork changes onto current main
mfrancisc Oct 28, 2026
3a5ae00
ci: run CI jobs in apache/devlake:lake-builder-v0.0.16 (#9271)
DoDiODev Oct 29, 2026
b966463
Merge branch 'main' into konflux-onto-latest
mfrancisc Oct 29, 2026
5fa0dd3
fix(ci): make the stricter checks pass on the Konflux port
mfrancisc Oct 29, 2026
bbea4a6
fix(ci): clear the remaining lint, image, and Postgres failures
mfrancisc Oct 30, 2026
d7f2305
fix(ci): unblock hadolint, the config-ui image, and aireview e2e
mfrancisc Oct 30, 2026
6af7aff
fix(ci): clear hadolint, flaky predictions, libgit2, and the dialect …
mfrancisc Oct 30, 2026
2490607
fix(ci): make cicd rename idempotent and drop codecov double type
mfrancisc Oct 30, 2026
128c08b
style(codecov): gofmt comparison structs after dropping double tags
mfrancisc Oct 30, 2026
87e0264
fix(ci): harden cicd migrations for polluted e2e databases
mfrancisc Oct 30, 2026
419c37d
fix(ci): skip duplicate project_pr_metrics deployment column rename
mfrancisc Oct 30, 2026
28c1f80
fix(ci): skip refdiff finished_commits_diffs rename when already migr…
mfrancisc Oct 30, 2026
cf57250
fix(ci): idempotent framework renames and drops for shared e2e DB
mfrancisc Oct 30, 2026
31e78f1
fix(ci): skip duplicate _raw_data columns on ai review migration
mfrancisc Oct 30, 2026
d0e7713
fix(testregistry): postgres upsert for push e2e on shared DB
mfrancisc Oct 30, 2026
4d92bb9
fix(ci): set ENCRYPTION_SECRET for e2e coverage compose stack
mfrancisc Oct 30, 2026
9c018c7
fix(ci): use Node 24 for e2e coverage Playwright install
mfrancisc Oct 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 41 additions & 0 deletions .cursor/rules/owned-plugins.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
description: Conventions for our team's owned plugins (aireview, codecov, testregistry) in this Apache DevLake fork
globs: backend/plugins/{aireview,codecov,testregistry}/**
alwaysApply: false
---

# Owned Plugin Development Rules

This repo is a fork of Apache DevLake. Our team owns only three plugins:
`aireview`, `codecov`, `testregistry`. Do NOT modify upstream code outside these directories.

## Plugin Checklist (every change)

- [ ] All models listed in `GetTablesInfo()` in `impl/impl.go`
- [ ] New models have a migration script in `models/migrationscripts/` AND registered in `register.go:All()`
- [ ] Migration filename: `YYYYMMDD_description.go`
- [ ] Apache 2.0 license header on every new `.go` file
- [ ] No cross-plugin imports (`plugins/X` must not import `plugins/Y`)
- [ ] Secrets use `serializer:encdec` gorm tag, sanitized in API responses

## Testing

```bash
cd backend
go test ./plugins/<plugin>/... -v # unit tests
go vet ./plugins/<plugin>/... # vet
golangci-lint run ./plugins/<plugin>/... # lint
```

E2E tests (aireview only, needs MySQL with `lake_test`):
```bash
export E2E_DB_URL="mysql://merico:merico@localhost:3306/lake_test?charset=utf8mb4&parseTime=True"
go test ./plugins/aireview/e2e/... -v
```

## Common Patterns

- **Data-source plugin** (codecov, testregistry): Connection → Scope → ScopeConfig → Collector → Extractor → Converter
- **Metric plugin** (aireview): No connection; uses domain-layer data from github/gitlab; configured via Projects
- **Subtask ordering**: Defined by `SubTaskMetas()` in `impl/impl.go` — order matters
- **New migration**: Create file, add struct with `Up()`, register in `All()`
Loading
Loading