Skip to content

chore(ci): extend Dependabot to python/ and webpage/site - #3032

Merged
inureyes merged 1 commit into
lablup:mainfrom
hephaex:chore/1670-dependabot-python-webpage
Nov 15, 2026
Merged

inureyes merged 1 commit into
lablup:mainfrom
hephaex:chore/1670-dependabot-python-webpage

Conversation

@hephaex

@hephaex hephaex commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #1670.

.github/dependabot.yml had cargo and github-actions entries only. Add the two roots the issue names:

Ecosystem Directory Why
pip /python Python client, gated by .github/workflows/python.yml
npm /webpage/site Download webpage, committed pnpm-lock.yaml

Both copy the cargo entry's conventions: weekly Monday 09:00 Asia/Seoul, a minor-and-patch group, semver-major ignored, label type:dependency, commit prefix deps with scope. open-pull-requests-limit is 5 (the actions entry's value) because these roots are small.

Decisions

  • No versioning-strategy override for pip. python/pyproject.toml declares lower bounds (openai>=1.40, httpx>=0.27) for a published library; Dependabot's default (auto) applies widen to libraries, which leaves floors alone; whether it classifies this package as a library is not something I could verify offline. An explicit increase would raise the supported minimum for every user.
  • TypeScript held to patch releases in the npm block. pnpm-lock.yaml shows [email protected] peering on typescript: '>=4.8.4 <6.1.0', and the v0.8.0 dependency update (update: bring Rust, web and pnpm dependencies to latest #2819, technical report 2819) already pinned TypeScript at 6.0.3 for that reason. Without the ignore, the first weekly run would open a PR that breaks eslint. The comment in the file follows the style of the existing dtolnay/rust-toolchain entry.
  • next and eslint-config-next move together. Both are exact-pinned to the same version, so the single minor-and-patch group puts them in one PR.

Verification

  • yaml.safe_load parses the file and lists cargo /, github-actions /, pip /python, npm /webpage/site.
  • type:dependency is an existing repository label.
  • Not verified: an actual Dependabot run. It only happens on the default branch, so the first scheduled run (or the Dependabot tab's "Check for updates") after merge is the real test. In particular I could not confirm that Dependabot's pnpm support reads the pnpm 12 lockfile format that update: bring Rust, web and pnpm dependencies to latest #2819 introduced; if it does not, the npm block will report an error in the Dependabot tab and needs a follow-up.
  • Config-only change; no Rust or Python code touched, so cargo checks do not apply.

Out of scope

webui/ (pnpm, @lablup/mlxcel-webui) is a third dependency root with no Dependabot coverage. The issue names only python/ and webpage/site, so I left it; it would take the same shape of block and the same TypeScript hold.

Dependabot covered only Cargo and GitHub Actions, while CI also gates on
the Python client (python.yml) and the download webpage. Add a pip block
for /python and an npm block for /webpage/site, copying the schedule,
label, grouping and commit-message conventions of the cargo entry.

Majors are ignored as for Cargo. The npm block also holds TypeScript to
patch releases: typescript-eslint 8.72 peers on typescript <6.1.0, and
the v0.8.0 dependency update (lablup#2819) already pinned it for that reason.

Not covered here: webui/ (pnpm) is a third uncovered root; the issue did
not ask for it.

Closes lablup#1670
@hephaex

hephaex commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

Note on webui/, which this PR still does not cover.

Checked webui/ for a Dependabot entry. It has package.json and pnpm-lock.yaml (pnpm), so the ecosystem fits. It is left out on purpose, because the repo's own bump rules (webui/AGENTS.md, TOOLCHAIN and BUMPING lines) would make routine Dependabot PRs fail or need manual follow-up:

  • Dependencies are exact versions, with Node 26.5.1 and pnpm 12.16.1 pinned in engines/packageManager and checked by build_bundle.py.
  • @lablup/ui-common and @lablup/ui-common-cli must move together to the same version. After a bump the instructions require pnpm exec ui-common upgrade, node scripts/layer-slide-rules.mjs, pnpm run build:themes and regenerating the AGENTS.md block; check:agents fails while it is stale.
  • @astryxdesign/lab is on a canary version with a pnpm-workspace.yaml override that keeps a single @astryxdesign/core.
  • A Playwright bump can change the screenshot baselines.

Adding /webui therefore needs a policy choice (ignore those packages, or accept a manual step on every bump). That is a maintainer decision, so it is not made here. Not verified: how Dependabot itself handles pnpm 12 lockfiles.

@inureyes inureyes added priority:low Low priority status:review Under review type:chore Maintenance tasks (build, CI, etc.) labels Nov 15, 2026
@inureyes

Copy link
Copy Markdown
Member

Reviewed PR #3032 against #1670 and the current source references. Parsed the YAML and verified all four ecosystem/directory pairs. Grouping, weekly schedule and TypeScript minor-version hold are consistent with the existing configuration and lockfile. An actual Dependabot update requires the default-branch scheduler and was not run.

git diff --check passed. No correctness, security or performance defect found in this bounded documentation/configuration change; no production execution path is added. No follow-up code changes required. Merge remains conditional on the PR checks completing successfully.

@inureyes
inureyes merged commit 6f1fbcb into lablup:main Nov 15, 2026
31 checks passed
@inureyes inureyes added status:done Completed and removed status:review Under review labels Nov 15, 2026
@hephaex
hephaex deleted the chore/1670-dependabot-python-webpage branch November 15, 2026 11:44
@inureyes inureyes added this to the 0.9 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:low Low priority status:done Completed type:chore Maintenance tasks (build, CI, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(ci): extend Dependabot to the python/ and webpage/site dependency roots

2 participants