Skip to content

fix(tooling): migrate deprecated mise monorepo setting - #874

Merged
scottschreckengaust merged 2 commits into
mainfrom
fix/mise-monorepo-root-deprecation
Sep 10, 2026
Merged

scottschreckengaust merged 2 commits into
mainfrom
fix/mise-monorepo-root-deprecation

Conversation

@ayushtr-aws

Copy link
Copy Markdown
Contributor

The reported security:deps failure was fixed on main by #870, which upgraded smol-toml from 1.7.0 to 1.8.0. This PR addresses the remaining warning in the same CI output by migrating mise's deprecated monorepo root setting before its scheduled removal.

Area

  • cdk — infrastructure, handlers, constructs
  • agent — Python runtime / Docker image
  • clibgagent client
  • docs — guides or design sources (docs/guides/, docs/design/)
  • tooling — root mise.toml, scripts, CI workflows

Related

Changes

  • Replace deprecated experimental_monorepo_root = true with monorepo_root = true
  • Preserve monorepo task discovery while removing the warning scheduled to become an error after mise removes the old key

Verification

  • MISE_EXPERIMENTAL=1 mise tasks --all — 75 tasks discovered, no deprecation warning
  • mise run security:deps — No issues found, no deprecation warning
  • mise run build — passed
    • CDK: 211 suites / 4,471 tests
    • CLI: 60 suites / 903 tests
    • Agent, docs, lint, and synth checks passed
  • mise run install installed dependencies, then hit the documented local core.hooksPath conflict at the final prek install step

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

@ayushtr-aws
ayushtr-aws requested a review from a team as a code owner September 9, 2026 19:59
@scottschreckengaust
scottschreckengaust added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit b8d049f Sep 10, 2026
8 checks passed
@scottschreckengaust
scottschreckengaust deleted the fix/mise-monorepo-root-deprecation branch September 10, 2026 14:54
@scottschreckengaust scottschreckengaust added the v1 Version 1 label Sep 14, 2026
ClintEastman02 pushed a commit to ClintEastman02/sample-autonomous-cloud-coding-agents that referenced this pull request Sep 15, 2026
…t key (aws-samples#888)

* fix(tooling): bump mise min_version to 2026.7.9 for the monorepo_root key

PR aws-samples#874 renamed `experimental_monorepo_root` -> `monorepo_root`, but that
key did not exist until mise 2026.7.9 (jdx/mise#11052, 2026-07-16). Any
contributor on `2026.2.6 <= mise < 2026.7.9` therefore got a per-prompt
`unknown field: monorepo_root` warning. Raise the floor to match the config
the repo actually requires, turning a silent warning into a clear upgrade gate.

Closes aws-samples#887

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(tooling): raise child mise.toml floors to 2026.7.9 for consistency

The four workspace configs (cdk/agent/cli/docs) declare the same
`min_version` floor as the root and are meant to move together. Keep all
five uniform at 2026.7.9 so the monorepo presents one coherent floor.

Refs aws-samples#887

* fix(tooling): correct floor to 2026.7.11 — 2026.7.8–2026.7.10 were never published

The `monorepo_root` key first landed in the 2026.7.9 tag (jdx/mise#11052),
but 2026.7.8, 2026.7.9, and 2026.7.10 were tagged and never published to the
release/install channels (release-pipeline issue); their changes shipped in
2026.7.11 (published 2026-07-20). Pinning the floor to a version nobody can
`mise use`/install would just trade a warning for an unsatisfiable requirement,
so raise it to 2026.7.11 — the first *installable* release that recognizes
`monorepo_root`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: scottschreckengaust <345885+scottschreckengaust@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: ayushtr-aws <ayushtr@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1 Version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants