Skip to content

Way#21

Merged
kantacky merged 3 commits intomainfrom
way
Mar 26, 2026
Merged

Way#21
kantacky merged 3 commits intomainfrom
way

Conversation

@kantacky
Copy link
Copy Markdown
Member

No description provided.

@kantacky kantacky self-assigned this Mar 26, 2026
@kantacky kantacky requested review from a team, Copilot, hikaru-0602 and masaya-osuga March 26, 2026 03:42
@kantacky kantacky merged commit 3be9534 into main Mar 26, 2026
4 of 5 checks passed
@kantacky kantacky deleted the way branch March 26, 2026 03:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR centralizes backend tooling/configuration by introducing the way submodule and replacing local root-level config files and CI/test workflows with references to shared assets in fun-dotto/way.

Changes:

  • Adds the way git submodule and points repo-level configs (Dockerfile, Taskfile, mise, agent settings) to the submodule’s canonical versions.
  • Replaces the in-repo CI workflow with reusable workflows from fun-dotto/way.
  • Refactors the CD workflow to use shared set-env action and updates checkout/auth/deploy steps.

Reviewed changes

Copilot reviewed 18 out of 23 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
way Adds way as a submodule commit pointer.
.gitmodules Registers the way submodule and its remote URL.
mise.toml Replaces local mise tool declarations with a pointer to the submodule version.
Taskfile.yml Replaces local task definitions with a pointer to the submodule version.
Taskfile.yaml Removes the previous Taskfile definitions (superseded by Taskfile.yml pointer).
Dockerfile Replaces local Dockerfile content with a pointer to the submodule version.
.dockerignore Replaces local ignore rules with a pointer to the submodule version.
CLAUDE.md Replaces local Claude guidance with a pointer to the submodule version.
.mcp.json Replaces local MCP server settings with a pointer to the submodule version.
.github/workflows/ci.yaml Removes the in-repo CI workflow (superseded by reusable workflows).
.github/workflows/test.yml Adds a reusable workflow-based test pipeline.
.github/workflows/update-submodules.yml Adds a scheduled reusable workflow to update submodules.
.github/workflows/cd.yaml Updates deploy workflow to use shared env setup + submodule checkout + newer Google actions.
.codex/skills Points Codex skills to the submodule location.
.codex/config.toml Points Codex config to the submodule location.
.codex/AGENTS.md Points Codex agents doc to the submodule location.
.claude/skills Points Claude skills to the submodule location.
.claude/settings.json Points Claude settings to the submodule location.
Comments suppressed due to low confidence (1)

Dockerfile:1

  • This file appears to be intended as a symlink to a Dockerfile in the way submodule. If it was committed as a regular text file (instead of a git symlink with mode 120000), docker build -f Dockerfile will fail because Docker will try to parse ./way/packaging/backend/Dockerfile as Dockerfile instructions. Please ensure this is committed as a symlink (and note that Windows checkouts may require core.symlinks=true).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,3 @@
[submodule "way"]
path = way
url = git@github.com:fun-dotto/way.git
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using an SSH URL for the submodule (git@github.com:...) will fail in GitHub Actions (and for many contributors) unless SSH keys are explicitly configured. Prefer an HTTPS URL (e.g., https://github.com/fun-dotto/way.git) or add explicit SSH key setup in workflows that checkout submodules.

Suggested change
url = git@github.com:fun-dotto/way.git
url = https://github.com/fun-dotto/way.git

Copilot uses AI. Check for mistakes.
workflow_dispatch:
jobs:
update-submodules:
uses: fun-dotto/way/.github/workflows/update-submodules.yml@main
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reusable workflow is referenced by a floating ref (@main). For supply-chain safety and reproducibility, pin this to an immutable ref (a tag or commit SHA). This reduces the risk of unexpected behavior changes impacting scheduled runs.

Suggested change
uses: fun-dotto/way/.github/workflows/update-submodules.yml@main
uses: fun-dotto/way/.github/workflows/update-submodules.yml@f3a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8

Copilot uses AI. Check for mistakes.
workflow_dispatch:
jobs:
test:
uses: fun-dotto/way/.github/workflows/backend-test.yml@main
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow calls a reusable workflow pinned to @main. Pin to a tag or commit SHA to avoid unexpected changes in CI behavior (and to make builds reproducible).

Suggested change
uses: fun-dotto/way/.github/workflows/backend-test.yml@main
uses: fun-dotto/way/.github/workflows/backend-test.yml@v1

Copilot uses AI. Check for mistakes.
- synchronize
workflow_dispatch:
jobs:
test:
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous in-repo CI job explicitly skipped draft PRs (if: github.event.pull_request.draft == false). This caller workflow no longer has that guard, so tests will run on draft PR events (e.g., opened). If the prior behavior is still desired, add the draft condition at the job level in this workflow.

Suggested change
test:
test:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants