Repository navigation
Introduce Takumi Guard for npm and pip - #730
Merged
Merged
Conversation
Signed-off-by: takahiro-yamada <takahiro-yamada@cybozu.co.jp>
Signed-off-by: takahiro-yamada <takahiro-yamada@cybozu.co.jp>
takahiro-yamada
force-pushed
the
introduce-takumi-guard-node
branch
from
October 26, 2026 11:01
e084665 to
a41e799
Compare
Signed-off-by: takahiro-yamada <takahiro-yamada@cybozu.co.jp>
Signed-off-by: takahiro-yamada <takahiro-yamada@cybozu.co.jp>
takahiro-yamada
force-pushed
the
introduce-takumi-guard-node
branch
from
October 26, 2026 11:10
a41e799 to
4994acb
Compare
takahiro-yamada
marked this pull request as ready for review
October 26, 2026 11:21
There was a problem hiding this comment.
🟡 Changes recommended
Runtime bot-ID validation, documented authentication fallback behavior, and anonymous Guard configuration for in-cluster pnpm installs remain unresolved.
4 open issues
What changed in this PR
This PR extends Takumi Guard integration to npm dependencies in CI and pip dependencies in the operator’s in-cluster MkDocs builds.
Changes:
- Adds a shared pnpm/Node setup action and integrates it into frontend and Tilt CI with OIDC permissions.
- Marks bot IDs as required in both setup actions.
- Routes MkDocs package installs through the anonymous PyPI proxy and normalizes Dockerfile keyword casing.
| File | Description |
|---|---|
e2e/manifests/manager/build-mkdocs.sh |
Sets the Takumi Guard PyPI index for pip installs. |
Dockerfile |
Normalizes AS casing without changing behavior. |
.github/workflows/frontend.yaml |
Uses the shared setup action with a bot ID and OIDC permission. |
.github/workflows/ci.yaml |
Grants frontend OIDC permission and adds setup for Tilt builds. |
.github/actions/setup-pnpm-and-node-with-takumi-guard/action.yaml |
Introduces shared pnpm, Node, and Guard setup. |
.github/actions/setup-go-with-takumi-guard/action.yaml |
Marks the bot-ID input as required. |
Review effort: Balanced
| python3 -m venv venv | ||
| source venv/bin/activate | ||
|
|
||
| export PIP_INDEX_URL=https://pypi.flatt.tech/simple/ |
ystkfujii
requested changes
Oct 27, 2026
Signed-off-by: takahiro-yamada <takahiro-yamada@cybozu.co.jp>
Signed-off-by: takahiro-yamada <takahiro-yamada@cybozu.co.jp>
takahiro-yamada
force-pushed
the
introduce-takumi-guard-node
branch
from
November 5, 2026 00:04
a878cd6 to
6aa2308
Compare
ystkfujii
approved these changes
Nov 6, 2026
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.


Summary
Install npm (pnpm) and pip packages through Takumi Guard.
Approach
TAKUMI_GUARD_BOT_IDis empty, the setup actions fail, becauserequired: truealone does not reject an empty input.References
Related PRs