Repository navigation
Conversation
kesamba
force-pushed
the
feature/per-project-dora-isolation
branch
2 times, most recently
from
October 13, 2026 09:00
befc324 to
be6cb81
Compare
…es (apache#9214) Bumps the js-minor-patch group in /config-ui with 5 updates: | Package | From | To | | --- | --- | --- | | [cron-parser](https://github.com/harrisiirak/cron-parser) | `5.10.1` | `5.10.2` | | [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) | `4.17.25` | `4.17.26` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.4` | `26.6.5` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.71.0` | `8.71.1` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.2` | `8.3.4` | Updates `cron-parser` from 5.10.1 to 5.10.2 - [Release notes](https://github.com/harrisiirak/cron-parser/releases) - [Changelog](https://github.com/harrisiirak/cron-parser/blob/master/CHANGELOG.md) - [Commits](harrisiirak/cron-parser@v5.10.1...v5.10.2) Updates `@types/lodash` from 4.17.25 to 4.17.26 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) Updates `@types/node` from 26.6.4 to 26.6.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `typescript-eslint` from 8.71.0 to 8.71.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.71.1/packages/typescript-eslint) Updates `vite` from 8.3.2 to 8.3.4 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.3.4/packages/vite) --- updated-dependencies: - dependency-name: cron-parser dependency-version: 5.10.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: "@types/lodash" dependency-version: 4.17.26 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: "@types/node" dependency-version: 26.6.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: typescript-eslint dependency-version: 8.71.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: vite dependency-version: 8.3.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…up (apache#9213) Bumps the e2e-minor-patch group in /e2e with 1 update: [@playwright/test](https://github.com/microsoft/playwright). Updates `@playwright/test` from 1.63.0 to 1.64.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](microsoft/playwright@v1.63.0...v1.64.0) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-version: 1.64.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: e2e-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…apache#9212) Bumps the go-minor-patch group in /backend with 2 updates: [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) and [golang.org/x/sync](https://github.com/golang/sync). Updates `github.com/go-playground/validator/v10` from 10.30.1 to 10.30.5 - [Release notes](https://github.com/go-playground/validator/releases) - [Commits](go-playground/validator@v10.30.1...v10.30.5) Updates `golang.org/x/sync` from 0.23.0 to 0.24.0 - [Commits](golang/sync@v0.23.0...v0.24.0) --- updated-dependencies: - dependency-name: github.com/go-playground/validator/v10 dependency-version: 10.30.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-minor-patch - dependency-name: golang.org/x/sync dependency-version: 0.24.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…type (apache#9215) ChangePrimaryKeyColumnsType dropped the primary key before copying data into the new column. MySQL Group Replication rejects DML on tables without a primary key, so the copy failed with error 3098 and left the table without one. Keep the key on the renamed column during the copy and move it to the new column with a single ALTER TABLE. Restore a missing key before copying data. Closes apache#9194
- golangci-lint v2.12.2 -> v2.14.0 in backend/Makefile and the golangci-lint workflow - staticcheck v0.8.1 reports the aws-sdk-go v1 SA1019 message without quotes; let the kiro exclusion match both forms - staticcheck v0.8.1 newly reports 201 uses of the deprecated RawDataSubTaskArgs.Params across ~40 plugins. Exclude that single message centrally: switching to Options changes the stored _raw_data_params and needs a per-plugin data migration - fix two go vet findings in tests (unused fmt.Sprintf result, unkeyed CommitUrlPattern literals) Signed-off-by: DoDiODev <DoDiDev@proton.me>
Update the patch-level toolchain pins with new SHA256 checksums: - Go 1.26.6 -> 1.26.9 in install-go.sh and the lake-builder image - mockery 3.7.4 -> 3.8.1 in install-mockery.sh, backend/Makefile, both backend Dockerfiles and the lake-builder image - workflow step labels follow the new versions golangci-lint stays at v2.12.2: v2.14.0 changes the SA1019 message format and flags RawDataSubTaskArgs.Params, which needs its own change. Signed-off-by: DoDiODev <DoDiDev@proton.me>
…le (apache#9207) Follow-up to apache#9090, same `${VAR:-default}` pattern. The grafana service in `docker-compose-dev-{mysql,postgresql}.yml` hard-codes its host port, its public root URL and the database it reads from, so running both stacks side by side, putting Grafana behind a different proxy URL, or pointing the dashboards at an existing database requires editing tracked files. - `GRAFANA_HOST_PORT` (default 3001 / 3002) for the published port. - `GRAFANA_ROOT_URL` for `GF_SERVER_ROOT_URL`. - `GRAFANA_DATABASE_{TYPE,HOST,PORT,NAME,USER,PASSWORD}` for the `DATABASE_*` variables read by `grafana/scripts/entrypoint.sh`. - The legacy `MYSQL_*` / `POSTGRES_*` variables are derived from the same values so dashboard images that predate the `DATABASE_*` entrypoint (e.g. an older tag pulled via `DEVLAKE_IMAGE_REGISTRY`) get a consistent datasource. The current entrypoint overwrites them from `DATABASE_*`, so they are inert there. - `env.example` documents the variables, commented out like `DEVLAKE_IMAGE_REGISTRY`, because the services read `.env` via `env_file`. With none of the variables set, `docker compose config` renders the same values as before; the only addition is the four legacy variables. Signed-off-by: DoDiODev <DoDiDev@proton.me>
DevLake's team dashboards (DORA by Team, Engineering Throughput - Team View, Copilot by Team) join through `teams`, `team_users` and `user_accounts`, but config-ui offered no way to populate them: the org plugin's four CSV endpoints were reachable only by hand-crafting a multipart upload. On a fresh install those tables stay empty and every team dashboard renders blank. Adds a Teams page with three tabs backed by the existing org endpoints, so no backend change is required: - Teams: id, name, alias, sorting index, and parent team as a select of the other teams rather than a raw id. - Members: id, name, email, and team membership as a multi-select that serialises back to the `;`-delimited TeamIds cell. - Account Mapping: every collected tool account, with its identity columns read-only and a select to map it to a member. Rows cannot be added or removed here because accounts come from data collection. Each tab round-trips a whole CSV file, matching the endpoints' existing delete-all-then-save semantics; the page says so in an alert, since a save overwrites rows added elsewhere since the page loaded. Columns the UI does not edit (AvatarUrl, CreatedDate, Status) are preserved by keeping the server's header order and writing back untouched cells. The CSV helpers cover the subset of RFC 4180 that gocsv emits - quoted delimiters, doubled quotes, embedded newlines, CRLF - and are unit tested for round-trip stability. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…che#9218) git fetch ends with `git maintenance run --auto` (older git: `git gc --auto`), which runs detached by default. During an incremental collection the last fetch can leave a background repack running while libgit2 already scans objects/pack/, so a temporary .tmp-<pid>-pack-*.idx disappears under it and Collect Commits fails intermittently with "could not find ... to open". Pass -c gc.auto=0 -c gc.autoDetach=false -c maintenance.auto=false to every git command run by GitcliCloner. The clone is a temporary directory, so automatic housekeeping has no benefit there; the explicit `git repack -d` in deepen() still runs synchronously. Add a regression test that traces an incremental clone with GIT_TRACE and asserts that git starts neither `maintenance run` nor `gc --auto`. Signed-off-by: DoDiODev <DoDiDev@proton.me>
…mage (apache#9221) The dashboard image could only talk to PostgreSQL with sslmode=disable in the compose setup, and verify-ca/verify-full failed against a private CA because the datasource never got a root certificate. While testing this, a few related problems in the datasource provisioning showed up. TLS: - docker-compose-dev-postgresql.yml passes GRAFANA_DATABASE_SSL_MODE (default disable) as DATABASE_SSL_MODE, documented in env.example - new optional DATABASE_SSL_ROOT_CERT, DATABASE_SSL_CERT and DATABASE_SSL_KEY (file paths in the container) are written to the datasource as sslRootCertFile/sslCertFile/sslKeyFile with tlsConfigurationMethod=file-path; unreadable paths log a warning Provisioning: - the API calls use GF_SECURITY_ADMIN_USER instead of a hard-coded "admin" and pass the credentials via --user, so a renamed admin or a password containing characters such as @ / # no longer breaks them - a failing curl no longer ends the entrypoint (set -e) and with it the container; 401/403 stop the retry loop with a hint, and a final error is logged if the datasource could not be created - the clean slate deletes datasources by UID: Grafana 13 answers "Not found" for deletion by numeric ID, so on every restart the old datasource was kept ("already exists") together with its old settings (e.g. a changed sslmode or password never took effect). Deletion by ID is kept as a fallback for older Grafana versions - DATASOURCE_CLEAN_SLATE=false (default true) replaces only the DevLake datasource and keeps all other datasources, for a Grafana state that is shared with other teams or replicas Defaults are unchanged. Signed-off-by: DoDiODev <DoDiDev@proton.me>
DataFlowTester runs no migrations, so a test only has the tables it flushes or imports. Several e2e tests ran subtasks that read or write other tables, which only existed because an earlier test (in the same package or another plugin) had created them on the shared CI database. Flush the tables those subtasks touch, and import the existing snapshots where a test relied on data left by an earlier test. Give the DORA change lead time test its own accounts fixture with a bot account, so the bot exclusion for the first review is now covered.
…pache#9226) The PR time panels of the Engineering Throughput and Cycle Time dashboards (and the team view) LEFT JOIN project_pr_metrics and coalesce the metric to 0, so a merged PR without a project_pr_metrics row was averaged in as 0 hours. Projects without DORA enabled showed a flat 0 h on every panel. Inner join project_pr_metrics in the MySQL and PostgreSQL variants so those PRs are excluded. Projects where every merged PR has a row get the same values as before, and NULL sub-metrics within a row are still treated as 0. Closes apache#9225
…e for changes (apache#9229) * feat(dora): filter pull requests by source branch pattern in lead time for changes Add a project-level prHeadRefPattern option (Go RE2 regex) to the DORA metric plugin. When set, calculateChangeLeadTime only writes project_pr_metrics rows for merged pull requests whose head_ref matches the pattern; the refs/heads/ prefix is ignored. A blank pattern keeps the current behavior. Invalid patterns fail plan generation with a BadInput error. Refs apache#9222 * feat(config-ui): add DORA source branch pattern to project settings Refs apache#9222 * feat(config-ui): clarify that the DORA source branch pattern is optional Refs apache#9222
…pache#9228) * refactor(project): extract metric plugin plan generation into a helper * fix(project): validate metric plugin options when saving a project
…he#9231) * fix(server): return 502 instead of passing through upstream 401 * refactor(config-ui): drop plugin test 401 exemption
…up (apache#9236) Bumps the e2e-minor-patch group in /e2e with 1 update: [@playwright/test](https://github.com/microsoft/playwright). Updates `@playwright/test` from 1.64.0 to 1.64.1 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](microsoft/playwright@v1.64.0...v1.64.1) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-version: 1.64.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: e2e-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tes (apache#9238) Bumps the js-minor-patch group in /config-ui with 10 updates: | Package | From | To | | --- | --- | --- | | [antd](https://github.com/ant-design/ant-design) | `6.6.5` | `6.6.6` | | [react](https://github.com/react/react/tree/HEAD/packages/react) | `19.3.0` | `19.3.1` | | [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom) | `19.3.0` | `19.3.1` | | [react-is](https://github.com/react/react/tree/HEAD/packages/react-is) | `19.3.0` | `19.3.1` | | [styled-components](https://github.com/styled-components/styled-components) | `6.5.3` | `6.6.0` | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.5.6` | `5.5.7` | | [jsdom](https://github.com/jsdom/jsdom) | `30.1.2` | `30.1.3` | | [prettier](https://github.com/prettier/prettier) | `3.9.9` | `3.9.10` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.71.1` | `8.71.2` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.3` | `5.0.5` | Updates `antd` from 6.6.5 to 6.6.6 - [Release notes](https://github.com/ant-design/ant-design/releases) - [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md) - [Commits](ant-design/ant-design@6.6.5...6.6.6) Updates `react` from 19.3.0 to 19.3.1 - [Release notes](https://github.com/react/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react/commits/v19.3.1/packages/react) Updates `react-dom` from 19.3.0 to 19.3.1 - [Release notes](https://github.com/react/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react/commits/v19.3.1/packages/react-dom) Updates `react-is` from 19.3.0 to 19.3.1 - [Release notes](https://github.com/react/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react/commits/v19.3.1/packages/react-is) Updates `styled-components` from 6.5.3 to 6.6.0 - [Release notes](https://github.com/styled-components/styled-components/releases) - [Commits](https://github.com/styled-components/styled-components/compare/styled-components@6.5.3...styled-components@6.6.0) Updates `eslint-plugin-prettier` from 5.5.6 to 5.5.7 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.5.6...v5.5.7) Updates `jsdom` from 30.1.2 to 30.1.3 - [Release notes](https://github.com/jsdom/jsdom/releases) - [Commits](jsdom/jsdom@v30.1.2...v30.1.3) Updates `prettier` from 3.9.9 to 3.9.10 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.9.9...3.9.10) Updates `typescript-eslint` from 8.71.1 to 8.71.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.71.2/packages/typescript-eslint) Updates `vitest` from 5.0.3 to 5.0.5 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.5/packages/vitest) --- updated-dependencies: - dependency-name: antd dependency-version: 6.6.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: react dependency-version: 19.3.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: react-dom dependency-version: 19.3.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: react-is dependency-version: 19.3.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: styled-components dependency-version: 6.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: js-minor-patch - dependency-name: eslint-plugin-prettier dependency-version: 5.5.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: jsdom dependency-version: 30.1.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: prettier dependency-version: 3.9.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: typescript-eslint dependency-version: 8.71.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: vitest dependency-version: 5.0.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the docker-patch group with 1 update in the /grafana directory: grafana/grafana. Updates `grafana/grafana` from 13.2.3 to 13.2.4 --- updated-dependencies: - dependency-name: grafana/grafana dependency-version: 13.2.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) aws-sdk-go v1 reached end-of-support on 2025-07-31 and its last release deprecates every package. The kiro plugin was its only consumer. - Build S3 and Identity Store clients from config.LoadDefaultConfig with the connection's region and static credentials, as before. - Adapt the S3API and IdentityStoreAPI interfaces and the test doubles to the v2 method signatures, which take a context.Context. The S3 collector passes the subtask context; other call sites use context.Background(), matching v1's behaviour. - Listing results are value slices in v2 (types.Object, types.CommonPrefix); MaxKeys is now an int32. With no remaining importer, go mod tidy drops github.com/aws/aws-sdk-go (and github.com/jmespath/go-jmespath) from go.mod, which the "go.mod is tidy" CI check requires. Refs apache#9195 Co-authored-by: Yasuhiro Aihara <3818220+ay5399@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(blueprint): retain scheduled planning failures Signed-off-by: Jose Camargo <aml.camargo@hotmail.com> * fix(ui): prevent reruns for pipelines without tasks Signed-off-by: Jose Camargo <aml.camargo@hotmail.com> --------- Signed-off-by: Jose Camargo <aml.camargo@hotmail.com>
…pache#9242) Migration 20230927145127 dropped the primary key of _tool_sonarqube_file_metrics unconditionally. The migrator records a script only after it succeeds, so a run interrupted after the drop failed on every later startup (PostgreSQL SQLSTATE 42704, MySQL error 1091). Drop the primary key only when it exists, and add an e2e test covering the normal run and a re-run without the primary key. Closes apache#9241
…ana (apache#9239) With USE_EXTERNAL_GRAFANA=true, nginx redirected every /grafana/... request to GRAFANA_ENDPOINT and dropped the path and query, so all dashboard links (e.g. /grafana/d/<uid>/...) ended on the Grafana home page. The redirect now keeps the path after /grafana and the query string ($request_uri, still URL-encoded). A trailing slash in GRAFANA_ENDPOINT is ignored. Proxy mode is unchanged. The onboarding "Check Dashboard" button opened DEVLAKE_DASHBOARD_URL_*, which are build-time variables and are not set in the released image, so the button opened an empty tab. If no URL is configured, it now opens the Grafana dashboard search for the plugin (e.g. /grafana/dashboards?query=GitHub), which works for MySQL and PostgreSQL (PostgreSQL dashboards use "-pg" UIDs). Also document USE_EXTERNAL_GRAFANA in config-ui/README.md and the PostgreSQL UIDs in config-ui/env.example. Refs apache#9219 Signed-off-by: DoDiODev <DoDiDev@proton.me>
The auto cherry pick automation is no longer used. It also kept producing failed 'Auto Cherry Pick' runs for fork pull requests, which GitHub expires 30 days later and reports as failed runs. Removes the workflow and its composite action.
…ache#9244) The "Collect Pull Requests" detail collector re-collected every pull request matching `state != 'closed' OR merged = false`. `merged` stays false forever on a pull request that was closed without being merged, so those were re-collected on every incremental run, one request each, for as long as the repo lived. The condition was widened to `OR merged = false` so that `merged` gets filled in after a full sync: `repos/{owner}/{repo}/pulls` does not return `merged`, `commits`, `additions`, `deletions`, `review_comments` or `merged_by`, so a pull request that was only ever seen in a list page is stored without them. That repair is still needed, but it has to end once the details are in. Select on `commits = 0` instead. Every pull request has at least one commit, so it marks exactly the records whose details were never collected, and it stops matching as soon as they are. Open pull requests are re-collected as before. The clauses move into `UnfinishedPullRequestsClauses` so the regression test runs the same query as the collector. Closes apache#9240 Signed-off-by: Sadat Nazarli <118483002+dvecy@users.noreply.github.com>
…nts (apache#9247) PatchBlueprint sanitized the blueprint it had just handed to the cron job, and the gitextractor sanitizer rewrote the options map in place. The next scheduled pipeline then cloned with a masked URL until the server restarted. Normal-mode blueprints with credentials in beforePlan or afterPlan were hit too, since those tasks are shared with the generated plan. Sanitizing now works on copies: SanitizePluginOption masks a clone of the options, SanitizeTask returns a new task, and SanitizeBlueprint and SanitizePipeline build a new plan. PatchBlueprint sanitizes a copy of the saved blueprint for its response, so the plan it returns is still masked. Closes apache#9243 Signed-off-by: Yashvardhan Thanvi <yashvt9404@gmail.com>
24.19.0 predates the October 21, 2026 Node.js security release, which fixes 4 High CVEs (Brotli decoder RCE, two TLS hostname-check bypasses, dns.resolve NUL truncation). 24.22.1 is the patched 24.x LTS. Verified in node:24.22.1-alpine3.23: yarn install --immutable and yarn build succeed. Co-authored-by: Evan Lynch <elynch@freedomledger.net> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
apache#9250) `stateManager.GetSince()` is `_devlake_subtask_state.prev_started_at`, the time the previous run of the subtask started. The GitHub convert subtasks compared it against `github_updated_at`, which is when GitHub last changed the record. Those are two different clocks, so a tool record that DevLake wrote or corrected after the previous run was skipped whenever GitHub had not touched it since then, on that run and on every run after it. The tool layer stayed correct while the domain record was missing or stuck on its old status. A closed pull request from 2019 whose `merged` flag a later collection filled in is the clearest case: `github_updated_at` is 2019, `since` is the previous run a few hours ago, so the record never reaches `pull_requests`. Filter on the tool record's own `updated_at` instead. Gorm maintains it on every write, so it means "DevLake last wrote this row", which is what the watermark is. This is what the other plugins already do, what the example in `data_convertor_stateful.go` documents, and what the remaining GitHub convert subtasks (repo, release, account, cicd job) already do. Covers the subtasks whose watermark is on their own table: pull requests, issues, pull request comments, issue comments and runs. The seven that gate on a joined parent table are left alone, since which table should carry their watermark is a separate question. Existing domain records that were already skipped are not healed by this; they need one full sync or re-transform. Closes apache#9150 Signed-off-by: Sadat Nazarli <118483002+dvecy@users.noreply.github.com>
…ses (apache#9248) The release extractor fills github_releases.description_html from description and never reads descriptionHTML, but the collector still asks GitHub for it. Rendering release notes to HTML for a full page of 100 releases can exceed GitHub's GraphQL time limit on repositories with long release notes: the API returns 502/504, the three retries hit the same limit, and Collect Releases fails with "pageInfo is nil". On a repository with 86 releases and ~437 KB of release notes, the current query returned 502 after ~11s; without descriptionHTML the same page of 100 returns in ~2.2s.
Move the Go runtime from 1.26 to 1.27 at every coupled location: - go directive 1.26.0 -> 1.27.0; go mod tidy under the 1.27 directive merges the second direct require block into the first and moves three // indirect entries into the indirect block (no version change, go.sum unchanged) - install-go.sh and the lake-builder image: Go 1.26.9 -> 1.27.2 with new SHA256 checksums for linux/amd64 and linux/arm64 - golang:1.26-bookworm -> golang:1.27-bookworm in both backend Dockerfiles - devcontainer base image 1-1.26-bookworm -> 2-1.27-bookworm; the 1-* tag line is no longer published, so the old reference no longer resolves - workflow step labels follow the new version Signed-off-by: DoDiODev <DoDiDev@proton.me>
…apache#9249) Download modules in a separate layer keyed on go.mod/go.sum and use BuildKit cache mounts for the module and build caches in the mock/swag/plugin/server steps, so a source change no longer re-downloads all modules and rebuilds every plugin from scratch. Signed-off-by: DoDiODev <DoDiDev@proton.me>
…h 5 updates (apache#9252) Bumps the python-minor-patch group with 5 updates in the /backend/python/pydevlake directory: | Package | From | To | | --- | --- | --- | | [mysqlclient](https://github.com/PyMySQL/mysqlclient) | `2.2.8` | `2.3.0` | | [inflect](https://github.com/jaraco/inflect) | `7.5.0` | `7.6.0` | | [pydevd-pycharm](https://github.com/JetBrains/intellij-community) | `263.3889.77` | `263.7031.30` | | [jsonpointer](https://github.com/stefankoegl/python-json-pointer) | `3.1.1` | `3.4` | | [certifi](https://github.com/certifi/python-certifi) | `2026.7.22` | `2026.10.19` | Updates `mysqlclient` from 2.2.8 to 2.3.0 - [Release notes](https://github.com/PyMySQL/mysqlclient/releases) - [Changelog](https://github.com/PyMySQL/mysqlclient/blob/main/HISTORY.rst) - [Commits](PyMySQL/mysqlclient@v2.2.8...v2.3.0) Updates `inflect` from 7.5.0 to 7.6.0 - [Release notes](https://github.com/jaraco/inflect/releases) - [Changelog](https://github.com/jaraco/inflect/blob/main/NEWS.rst) - [Commits](jaraco/inflect@v7.5.0...v7.6.0) Updates `pydevd-pycharm` from 263.3889.77 to 263.7031.30 - [Release notes](https://github.com/JetBrains/intellij-community/releases) - [Commits](JetBrains/intellij-community@pycharm/263.3889.77...pycharm/263.7031.30) Updates `jsonpointer` from 3.1.1 to 3.4 - [Release notes](https://github.com/stefankoegl/python-json-pointer/releases) - [Commits](stefankoegl/python-json-pointer@v3.1.1...v3.4) Updates `certifi` from 2026.7.22 to 2026.10.19 - [Commits](certifi/python-certifi@2026.07.22...2026.10.19) --- updated-dependencies: - dependency-name: mysqlclient dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: inflect dependency-version: 7.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: pydevd-pycharm dependency-version: 263.7031.30 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: jsonpointer dependency-version: '3.4' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: certifi dependency-version: 2026.10.19 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…with 1 update (apache#9254) Bumps the compose-minor-patch group with 1 update in the / directory: mysql. Bumps the compose-minor-patch group with 1 update in the /.devcontainer directory: mysql. Bumps the compose-minor-patch group with 1 update in the /backend/test/e2e/remote directory: mysql. Bumps the compose-minor-patch group with 1 update in the /devops/deployment/temporal directory: mysql. Updates `mysql` from 8.4.11 to 8.4.13 Updates `mysql` from 8.4.11 to 8.4.13 Updates `mysql` from 8.4.11 to 8.4.13 Updates `mysql` from 8.4.11 to 8.4.13 --- updated-dependencies: - dependency-name: mysql dependency-version: 8.4.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: compose-minor-patch - dependency-name: mysql dependency-version: 8.4.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: compose-minor-patch - dependency-name: mysql dependency-version: 8.4.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: compose-minor-patch - dependency-name: mysql dependency-version: 8.4.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: compose-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…updates (apache#9256) Bumps the js-minor-patch group with 6 updates in the /config-ui directory: | Package | From | To | | --- | --- | --- | | [antd](https://github.com/ant-design/ant-design) | `6.6.6` | `6.6.7` | | [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) | `4.17.26` | `4.17.27` | | [eslint](https://github.com/eslint/eslint) | `10.12.0` | `10.13.0` | | [eslint-plugin-headers](https://github.com/robmisasi/eslint-plugin-headers) | `1.3.4` | `1.3.5` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.71.2` | `8.72.0` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.4` | `8.3.5` | Updates `antd` from 6.6.6 to 6.6.7 - [Release notes](https://github.com/ant-design/ant-design/releases) - [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md) - [Commits](ant-design/ant-design@6.6.6...6.6.7) Updates `@types/lodash` from 4.17.26 to 4.17.27 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) Updates `eslint` from 10.12.0 to 10.13.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v10.12.0...v10.13.0) Updates `eslint-plugin-headers` from 1.3.4 to 1.3.5 - [Release notes](https://github.com/robmisasi/eslint-plugin-headers/releases) - [Commits](robmisasi/eslint-plugin-headers@v1.3.4...v1.3.5) Updates `typescript-eslint` from 8.71.2 to 8.72.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.0/packages/typescript-eslint) Updates `vite` from 8.3.4 to 8.3.5 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.3.5/packages/vite) --- updated-dependencies: - dependency-name: "@types/lodash" dependency-version: 4.17.27 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: antd dependency-version: 6.6.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: eslint dependency-version: 10.13.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: js-minor-patch - dependency-name: eslint-plugin-headers dependency-version: 1.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch - dependency-name: typescript-eslint dependency-version: 8.72.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: js-minor-patch - dependency-name: vite dependency-version: 8.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: js-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…updates (apache#9257) Bumps the go-minor-patch group with 6 updates in the /backend directory: | Package | From | To | | --- | --- | --- | | [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) | `1.47.3` | `1.47.4` | | [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) | `1.33.9` | `1.33.10` | | [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) | `1.20.9` | `1.20.10` | | [github.com/aws/aws-sdk-go-v2/service/identitystore](https://github.com/aws/aws-sdk-go-v2) | `1.49.1` | `1.49.3` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) | `1.114.3` | `1.114.5` | | [golang.org/x/mod](https://github.com/golang/mod) | `0.41.0` | `0.42.0` | Updates `github.com/aws/aws-sdk-go-v2` from 1.47.3 to 1.47.4 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@v1.47.3...v1.47.4) Updates `github.com/aws/aws-sdk-go-v2/config` from 1.33.9 to 1.33.10 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@config/v1.33.9...config/v1.33.10) Updates `github.com/aws/aws-sdk-go-v2/credentials` from 1.20.9 to 1.20.10 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/kms/v1.20.9...service/emr/v1.20.10) Updates `github.com/aws/aws-sdk-go-v2/service/identitystore` from 1.49.1 to 1.49.3 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/mgn/v1.49.1...service/ssm/v1.49.3) Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.114.3 to 1.114.5 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.114.3...service/s3/v1.114.5) Updates `golang.org/x/mod` from 0.41.0 to 0.42.0 - [Commits](golang/mod@v0.41.0...v0.42.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2 dependency-version: 1.47.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-minor-patch - dependency-name: github.com/aws/aws-sdk-go-v2/config dependency-version: 1.33.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-minor-patch - dependency-name: github.com/aws/aws-sdk-go-v2/credentials dependency-version: 1.20.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-minor-patch - dependency-name: github.com/aws/aws-sdk-go-v2/service/identitystore dependency-version: 1.49.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-minor-patch - dependency-name: github.com/aws/aws-sdk-go-v2/service/s3 dependency-version: 1.114.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-minor-patch - dependency-name: golang.org/x/mod dependency-version: 0.42.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…pache#9097)" (apache#9259) This reverts commit 8692568. Reverting the Python plugin framework deprecation notices: the DEPRECATED banners, the startup WARN log, the PluginDeprecation backend interface, the `deprecated` field on GET /plugins, and the "Deprecated" badge/alert in the Connections page. Conflicts were resolved against later commits touching the same code; the deprecation alert UI added by apache#9144 is removed here as well, along with its now-unused DeprecationAlert style and icons.
GitHub blocks actions that are not on the ASF org-wide allow list, and a blocked action fails with "Startup failure": no logs, no annotation, and a PR that looks green because the job never ran. The allow list lives in apache/infrastructure-actions and is only updated after infra reviews the matching Dependabot PR there, so this project can reference a version that is not approved yet without noticing. Add the check ASF ships for exactly this: a job running apache/infrastructure-actions/allowlist-check on any change under .github/, which fails the PR naming the offending ref, and warns ahead of time when an approved pin is nearing its expiry date. Dependabot cannot consult the allow list, so also set the ASF-recommended cooldown of 4 days on the github-actions ecosystem to give that review time to land before a bump is proposed here. Current main passes the check: 13 unique refs, all trusted or allowlisted.
Lockfile-only refresh of transitive/indirect dependencies with published security advisories. No manifest (package.json, pyproject.toml) changes, no forced resolutions; every bump stays within the ranges already declared by the parent packages. Python (poetry.lock in pydevlake, plugins/azuredevops, test/fakeplugin): - urllib3 2.7.0 -> 2.8.0 (certifi 2026.10.19 already landed via the python-minor-patch group, apache#9252) Go (backend/go.mod, go.sum): - github.com/quic-go/quic-go v0.59.0 -> v0.59.1 (indirect) config-ui/yarn.lock (yarn up -R, semver-compatible): - lodash, @babel/runtime, @babel/core, follow-redirects, mdast-util-to-hast, js-yaml, brace-expansion, minimatch, picomatch, browserslist, baseline-browser-mapping, cross-spawn, source-map-js - node-gyp (implicit "latest" dep of fsevents) 10.0.1 -> 13.1.0, which moves tar 6 -> 7.5.22 and drops make-fetch-happen 13 / socks / ip-address / sprintf-js / http-cache-semantics / glob 10.4 - ahooks ^3.4.1 (via @ahooksjs/use-url-state) 3.7.10 -> 3.10.0, which drops js-cookie 2.2.1 Not addressed: decode-uri-component 0.2.2 (via query-string@6 <- @ahooksjs/use-url-state 3.5.1, no newer parent release).
Follow-up to apache#9217 and apache#9251/apache#9254 for pins that Dependabot does not track. - Go 1.27.2 -> 1.27.3 (security fixes in crypto/x509, released 2026-10-19): backend/scripts/install-go.sh and the lake-builder Dockerfile, including the official SHA256 checksums from go.dev, plus the "Install Go" step names. go.mod keeps "go 1.27.0"; golang:1.27-bookworm already floats to the latest patch. - config-ui/.tool-versions: nodejs 24.19.0 -> 24.22.1, matching the Volta pin from apache#9251 (Node.js security release of 2026-10-21). - mysql 8.4.11 -> 8.4.13 in docker-compose-dev-mysql.yml and the e2e workflow service, matching the compose files bumped in apache#9254 (Dependabot's compose fetcher does not match docker-compose-dev-*.yml, and github-actions updates do not cover services:).
The cooldown block added in apache#9260 used 'default', which is not a valid key. Dependabot rejects the whole configuration, so no update jobs run. The schema only accepts default-days, semver-{major,minor,patch}-days, include and exclude.
The base images still ship a Brotli library that is vulnerable to CVE-2026-111497 (critical, CVSS 9.2). New base tags do not fix it yet: nginx-unprivileged 1.31.7 still has libbrotli1 1.1.0-2+b7 and grafana 13.2.4 still has brotli-libs 1.2.0-r1. Upgrade the OS packages at build time in all three images: - backend: apt-get upgrade (libbrotli1 1.0.9-2+deb12u1) - config-ui: apt-get upgrade (libbrotli1 1.1.0-2+deb13u1) - grafana: apk upgrade (brotli-libs 1.2.1-r0) Closes apache#9258
Bumps the docker-patch group with 1 update in the /config-ui directory: nginxinc/nginx-unprivileged. Updates `nginxinc/nginx-unprivileged` from 1.31.6 to 1.31.7 --- updated-dependencies: - dependency-name: nginxinc/nginx-unprivileged dependency-version: 1.31.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…pache#9267) build-builder.yml pushed to mericodev/lake-builder with separate credentials, so the CI toolchain image has not been updated since 2023-06-30. Use the Docker Hub credentials from build.yml and push <owner>/devlake:lake-builder-vX.Y.Z when a builder-vX.Y.Z tag is pushed. No moving latest tag; workflows will pin the version in a follow-up. Refs apache#9209
Collect Redmine projects, issues, journals, and time entries into the ticket domain, with MySQL and PostgreSQL Grafana dashboards. PyDevLake needs ticket domain models and project timeAfter so the plugin can map issues and honor the sync policy. The remote runner forwards that timeAfter into the Python task, and a full sync clears incremental mode so the created_on filter is applied. Refs apache#4278 Signed-off-by: Roger Abelenda <3179183+rabelenda@users.noreply.github.com>
…th 4 updates (apache#9255) Bumps the actions-minor-patch group with 4 updates in the / directory: [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action), [docker/login-action](https://github.com/docker/login-action), [docker/build-push-action](https://github.com/docker/build-push-action) and [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action). Updates `docker/setup-buildx-action` from 4.3.0 to 4.4.1 - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](docker/setup-buildx-action@37fe631...f87e599) Updates `docker/login-action` from 4.6.0 to 4.7.0 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@dbcb813...81c6f93) Updates `docker/build-push-action` from 7.3.0 to 7.4.0 - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@53b7df9...c3c9e26) Updates `docker/setup-qemu-action` from 4.2.0 to 4.4.0 - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](docker/setup-qemu-action@96fe6ef...9901266) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-version: 7.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-patch - dependency-name: docker/login-action dependency-version: 4.7.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-patch - dependency-name: docker/setup-buildx-action dependency-version: 4.4.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-patch - dependency-name: docker/setup-qemu-action dependency-version: 4.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ith 4 updates (apache#9269) Bumps the python-minor-patch group with 3 updates in the /backend/python/pydevlake directory: [pydevd-pycharm](https://github.com/JetBrains/intellij-community), [jsonpointer](https://github.com/stefankoegl/python-json-pointer) and [certifi](https://github.com/certifi/python-certifi). Bumps the python-minor-patch group with 1 update in the /grafana/scripts directory: [sqlglot](https://github.com/tobymao/sqlglot). Updates `pydevd-pycharm` from 263.7031.30 to 263.7307.50 - [Release notes](https://github.com/JetBrains/intellij-community/releases) - [Commits](JetBrains/intellij-community@pycharm/263.7031.30...pycharm/263.7307.50) Updates `jsonpointer` from 3.4 to 3.5 - [Release notes](https://github.com/stefankoegl/python-json-pointer/releases) - [Commits](stefankoegl/python-json-pointer@v3.4...v3.5) Updates `certifi` from 2026.10.19 to 2026.10.23 - [Commits](certifi/python-certifi@2026.10.19...2026.10.23) Updates `sqlglot` from 30.18.0 to 30.24.0 - [Commits](tobymao/sqlglot@v30.18.0...v30.24.0) --- updated-dependencies: - dependency-name: certifi dependency-version: 2026.10.23 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor-patch - dependency-name: jsonpointer dependency-version: '3.5' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: pydevd-pycharm dependency-version: 263.7307.50 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch - dependency-name: sqlglot dependency-version: 30.24.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Replace the unmaintained mericodev/lake-builder:latest image (2023, Go 1.20, bullseye) with the builder image now published by build-builder.yml under the apache namespace. Closes apache#9209 Signed-off-by: DoDiODev <DoDiDev@proton.me>
Several DevLake projects can share one board and each collect their own slice of it (e.g. via Jira ExtraJQL). Record which project a board/issue link belongs to by adding project_name to board_issues. It is part of the primary key so an issue that falls into two projects' slices can be linked once per project. Existing rows and plugins that do not set it get an empty project_name, which keeps the previous single-project behaviour. The e2e snapshots that verify board_issues gain the (empty) project_name column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add project_name to _tool_jira_board_issues (part of the primary key) and ProjectName to JiraApiParams. The issue collector and extractor stamp the DevLake project the pipeline runs for, so a board shared by several projects keeps each project's ExtraJQL slice apart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The issue convertor used to read every _tool_jira_board_issues row of the board, so on a shared board one project's run converted (and stamped) the other projects' issues too. Filter its input by project_name and stamp the project on the domain board_issues row. Boards without any per-project stamps (single-project or pre-feature data) keep converting all of their issues. On a board that has stamps, unstamped leftover rows are excluded rather than attributed to every project. Adds gorm.io/driver/sqlite (already in go.sum) for the in-memory tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The board filter collectors only compared the saved filter JQL to decide whether a full resync is needed. Fold the rendered ExtraJQL into that key so changing ExtraJQL also triggers a full resync, and issues that no longer match are unlinked from the board instead of lingering in board_issues. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ConvertIssuesToIncidents and ConnectIncidentToDeployment selected incidents by board-level project_mapping only, so every project sharing a board got every incident on it. Also filter on board_issues.project_name, falling back to the whole board when it has no per-project stamps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apply the same board_issues.project_name filter to the incident queries of the DORA dashboards (mysql: DORA, dora-by-team, dora-debug and the change-failure-rate / failed-deployment-recovery-time / time-to-restore-service details; postgresql: DORA, dora-by-team), with the same whole-board fallback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The issue collector now uses the search API, which does not return the `sprint` / `closedSprints` fields, so extractIssues stopped producing new _tool_jira_sprint_issues rows and the domain sprint_issues table stopped growing. Boards collected after that switch had no sprint links at all. convertSprintIssues now reads _tool_jira_sprint_reports, which is collected for every board and is Jira's own record of which issues were in each closed sprint. It is also scoped to connection_id AND board_id, so a pipeline only reads and rewrites its own board's links instead of the whole connection's. Domain IDs are unchanged. Only closed sprints are covered, since Sprint Reports only exist for those. A full refresh of a board rebuilds its links from reports already in the database. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8mCqJ3h8qtZVcEpe3WJqg
kesamba
force-pushed
the
feature/per-project-dora-isolation
branch
from
October 29, 2026 11:35
58a708c to
a4793fe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fork-internal PR to run the upstream CI (incl. test-e2e on MySQL + Postgres) before opening the PR to apache/devlake.