Skip to content

docs(defaults guard): name the Tunable helper forms the exact match does not see - #33321

Merged
lawrencecchen merged 2 commits into
feat-cmux-nextfrom
docs/defaults-guard-unseen-helpers
Nov 3, 2026
Merged

lawrencecchen merged 2 commits into
feat-cmux-nextfrom
docs/defaults-guard-unseen-helpers

Conversation

@lawrencecchen

@lawrencecchen lawrencecchen commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A comment only, in tunable_source_defaults. It lists the forms of Tunable helper call that the exact match from #33161 does not see:

  • a conformance or superclass in another file
  • inheritance more than one level deep
  • a nested generic clause
  • a typealias of the helper type, or a local X.self
  • a generic T.points
  • a class func helper

The #33161 review found these forms. No Tunable helper in the tree is called in these ways today, and the lead decided to leave them.

This edit changes the guard file, so the defaults guard lists it as a change and needs a receipt.

Observed / Not run

python3 tests/test_defaults_guard.py passes (73 tests). prepush-gate.py is clean.

Changelog

none


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Adds a comment in tunable_source_defaults (scripts/ci/defaults_guard.py) documenting the Tunable helper call forms that the exact match from #33161 doesn't see: a conformance or superclass declared in another file, inheritance more than one level deep, a nested generic clause, a typealias or local X.self, a helper reached through a generic parameter (T.points), and a class func helper. No Tunable helper uses these forms today, so they remain unsupported. Editing the guard file also makes the defaults guard list it as a change requiring a receipt.

Written for commit db5d409. Summary will update on new commits.

View guided diff Turn on auto-fix

…oes not see

#33161 matches a Tunable helper by the call that can reach it. Its review
found five forms that this match misses and the old name match caught.
No helper in the tree is called in these ways today. The lead decided to
leave them and to write them down where the match is.
@lawrencecchen lawrencecchen added the risk:low Risk tier (docs/ci/risk-tiers.md) label Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

cmux status (one comment, edited in place; each line is updated by the job that owns it)

Review 1965b23: HQ feed card · gallery before/after runs · checks

App of this head (app.zip, kept 1 day)

gh workflow run reload-build.yml -R manaflow-ai/cmux --ref feat-cmux-next -f tag=pr33321 -f ref=docs/defaults-guard-unseen-helpers -f platform=macos -f backend_mode=local

Default changes

This pull request changes 1 default at db5d4091f4cf (what everyone gets without configuring anything):

  • guard.scripts/ci/defaults_guard.py: (none) -> "edited"

Signed off on this commit by review (independent-subagent), carried from 1965b2357d3f across base merges.

Merge receipt: merged as 732ad010ea41 with these defaults changed, signed off by review (independent-subagent), carried from 1965b2357d3f across base merges.

Regenerate the snapshot with python3 scripts/ci/defaults_guard.py snapshot.

Shipped in:

@github-actions github-actions Bot added risk:normal Risk tier (docs/ci/risk-tiers.md) and removed risk:low Risk tier (docs/ci/risk-tiers.md) labels Nov 3, 2026
@lawrencecchen

Copy link
Copy Markdown
Contributor Author

Review (independent-subagent): SHIP at 1965b23

@lawrencecchen lawrencecchen added the ready-to-land Reviewed at this head; next-autoland merges it into feat-cmux-next when its only reds are base reds label Nov 3, 2026
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 08:38 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 08:49 Inactive
@lawrencecchen
lawrencecchen merged commit 732ad01 into feat-cmux-next Nov 3, 2026
125 of 132 checks passed
@lawrencecchen
lawrencecchen deleted the docs/defaults-guard-unseen-helpers branch November 3, 2026 09:02

This branch was previously deployed

1 inactive deployment
ci-routing-agent — db5d4091 Deployed Nov 3, 2026 by cmux-bot[bot] via wait for same-key tree publisher #104994
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-land Reviewed at this head; next-autoland merges it into feat-cmux-next when its only reds are base reds risk:normal Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant