Skip to content

Update dev environment and CI configuration for Redmine 7#42

Merged
haru merged 10 commits into
developfrom
feature/redmine7
Jul 3, 2026
Merged

Update dev environment and CI configuration for Redmine 7#42
haru merged 10 commits into
developfrom
feature/redmine7

Conversation

@haru

@haru haru commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Reworked the devcontainer setup (Dockerfile / docker-compose.yml / devcontainer.json / post-create.sh): added MySQL client and dev tools (uv, Claude Code, opencode, qlty), and added a workspace definition (redmine.code-workspace)
  • Updated the CI (build.yml) Ruby/Redmine version matrix to include Redmine 7.0-stable
  • Updated README.md's required Redmine version to 6.0+, plus minor formatting fixes
  • Added AGENTS.md/CLAUDE.md for coding agent guidance, and unignored CLAUDE.md in .gitignore (excluding tmp/* instead)
  • Added docs/adr/README.md to start tracking ADRs
  • Removed the obsolete .redmine.code-workspace

Test plan

  • Rebuild the devcontainer and confirm it starts correctly against Redmine 7.0-stable
  • Confirm the updated build.yml matrix runs successfully on GitHub Actions

@haru haru changed the title 開発環境・CI設定をRedmine 7系対応に更新 Update dev environment and CI configuration for Redmine 7 Jul 3, 2026
@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 88.87%. Comparing base (b5a2524) to head (005e8f0).
⚠️ Report is 11 commits behind head on develop.

Files with missing lines Patch % Lines
init.rb 96.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #42   +/-   ##
========================================
  Coverage    88.87%   88.87%           
========================================
  Files           16       16           
  Lines          935      935           
========================================
  Hits           831      831           
  Misses         104      104           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI review requested due to automatic review settings July 3, 2026 14:47

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the repository’s development environment and CI tooling to better support newer Redmine versions (notably adding Redmine 7.0-stable to the CI matrix), and adds documentation intended for coding agents and ADR tracking.

Changes:

  • Refreshes the devcontainer setup (Dockerfile/docker-compose/devcontainer.json/post-create) and adds a multi-root workspace file under .devcontainer/.
  • Expands the GitHub Actions matrix to include Redmine 7.0-stable and updates supported Ruby versions.
  • Adds agent guidance docs (AGENTS.md, CLAUDE.md), ADR index scaffolding (docs/adr/README.md), and Dependabot configuration.

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
README.md Updates stated minimum Redmine version and minor formatting fixes.
docs/adr/README.md Adds initial ADR index scaffolding and naming convention.
CLAUDE.md Adds a pointer file for Claude Code guidance (delegates to AGENTS.md).
AGENTS.md Adds consolidated coding-agent guidance, commands, and architecture notes.
.redmine.code-workspace Removes an obsolete workspace definition.
.gitignore Stops ignoring CLAUDE.md; ignores tmp/* instead.
.github/workflows/build.yml Updates CI matrix to include Redmine 7.0-stable and adjusts Ruby versions/exclusions.
.github/dependabot.yml Adds Dependabot configuration for Bundler and GitHub Actions.
.devcontainer/redmine.code-workspace Adds a devcontainer-specific multi-root workspace and editor settings.
.devcontainer/post-create.sh Adjusts post-create provisioning and DB init flow for multiple adapters.
.devcontainer/Dockerfile Adds MySQL client + installs additional dev tools (uv/Claude Code/opencode/qlty).
.devcontainer/docker-compose.yml Updates default Ruby/Redmine versions, pins DB images, and adds extra services.
.devcontainer/devcontainer.json Simplifies devcontainer config, updates extensions, and postCreate command path.
.claude/skills/create-pr/SKILL.md Adds a Claude skill spec for creating/updating PRs via gh.
.claude/settings.json Adds Claude tool permissions / plugin configuration.

Comment thread README.md
## Requirements

- **Redmine**: Version 5.1.0 or higher
- **Redmine**: Version 6.0.0 or higher
Comment thread AGENTS.md

## What this is

A Redmine plugin (`redmine_code_review`) that adds in-browser code review to the repository browser: reviewers annotate diffs/changesets/attachments, and each review is backed by a Redmine `Issue`. Requires Redmine >= 6.0 (see `init.rb`, which pins `requires_redmine`).
Comment on lines +23 to +24
ruby_version: ["3.1", "3.2", "3.3", "3.4", "4.0"]
redmine_version: [6.0-stable, 6.1-stable, 7.0-stable, master]
Comment thread .github/dependabot.yml
Comment on lines +1 to +13
version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
target-branch: "develop"
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
target-branch: "develop"
schedule:
interval: "weekly"
Comment on lines 54 to 57
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: redmine
MYSQL_DB: redmine
MYSQL_PASSWORD: remine
Comment thread .devcontainer/Dockerfile
Comment on lines +10 to +14
# Install uv (includes uvx) for Serena MCP server
RUN curl -LsSf https://astral.sh/uv/install.sh | sh

USER vscode

Comment thread .devcontainer/Dockerfile

RUN curl -fsSL https://claude.ai/install.sh | bash
RUN curl -fsSL https://opencode.ai/install | bash
RUN curl https://qlty.sh | sh
Comment on lines 43 to 45
"containerEnv": {
"PLUGIN_NAME": "${localWorkspaceFolderBasename}"
},
@haru haru merged commit 0bbe454 into develop Jul 3, 2026
90 checks passed
@haru haru deleted the feature/redmine7 branch July 3, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants