Repository navigation
fix(dedup-program): resolve Track B activation findings - #60
Conversation
|
Claude finished @kyle-sexton's task in 2m 17s —— View job Code Review
Overall this is a well-motivated, technically sound set of fixes. The Ruff anchoring fix is correct, the Pulumi limitation is accurately characterized, and the activation checklist update is sensible. A few observations below.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e660e9bdaa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Claude finished @kyle-sexton's task in 2m 1s —— View job Code Review
No blocking issues. All three fixes are correct and the documentation accurately reflects the constraints.
|
Three deferred config-distribution review findings, resolved before the sync workflow is wired: 1. Ruff stub ignore-scope drift: Ruff resolves an extended config's relative per-file-ignores against that file's own directory, but against the CWD under --config (docs.astral.sh/ruff/configuration). Via the root stub the module's "tests/**" ignores therefore meant modules/python/tests/**, so local auto-discovered Ruff rejected test files the CI run accepts. The stub now re-anchors the path-anchored ignores with [lint.extend-per-file-ignores]; parity verified empirically both ways (bad fixture 8/8; synthetic tests/ file clean in both modes). The module's downstream-extension example now uses extend-per-file-ignores — a plain per-file-ignores table in a child replaces the parent's map entirely (verified) — and documents the anchoring semantics. 2. The activation plan gated on provisioning the sync GitHub App via Pulumi, which the provider cannot do (it only authenticates as an existing App and grants repo access via AppInstallationRepository; creation is unsupported upstream). The plan now records the provider limitation with sources and adds the one-time manual bootstrap (direct or App-manifest registration) that hands off to IaC. 3. The activation checklist now carries an explicit gated step to re-confirm every manifest target's layout and include list against the live repos immediately before wiring (rollout.md and the manifest seeded from it are dated snapshots). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_017K9RRMdUKD7HLExmHwMXAe
The AppInstallationRepository resource is documented as incompatible with GitHub App Installation authentication, so the plan's IaC handoff now states the grants run under github-iac's regular provider credential; the sync App's IDs/key only feed the caller-workflow secrets. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_017K9RRMdUKD7HLExmHwMXAe
f769bcd to
43c4f64
Compare
|
Claude finished @kyle-sexton's task in 1m 8s —— View job Code Review
No blocking issues. All three fixes are correct, and the Codex P2 finding (added in the second commit) is properly addressed.
|


Resolves the three deferred config-distribution review findings captured from the Track B scaffolding PR (#53), so they no longer block wiring the sync.
1. Ruff stub: per-file-ignore scope drift (verified empirically)
Ruff resolves a config file's relative paths against that file's own directory when the file is reached via
extend/auto-discovery, but against the CWD when it is passed via--config(configuration docs). Via the root stub, the module's"tests/**"ignores therefore resolved tomodules/python/tests/**, so local auto-discovered Ruff flaggedS101in repo-root test files that the CI run (--config modules/python/ruff.toml) accepts — reproduced with a synthetictests/test_synth.pybefore the fix.[lint.extend-per-file-ignores](unanchored keys —__init__.py,**/conftest.py— match in both modes and are not repeated; also verified).extend-per-file-ignoresand documents the anchoring semantics: a plain[lint.per-file-ignores]table in a child replaces the extended parent's map entirely (verified empirically — the parent's__init__.pyF401 ignore was lost).--configmodes;modules/python/python.test.shpasses.2. Activation plan no longer assumes Pulumi creates the GitHub App
The Pulumi GitHub provider only exposes authentication as an existing App and
AppInstallationRepositoryfor already-installed Apps; App creation is unsupported upstream (terraform-provider-github#2389). The plan's Auth section now records the limitation with sources and adds the one-time manual bootstrap per account (direct or App-manifest registration) that hands the IDs/private key off togithub-iac(Pulumi) for everything the provider can express.3. Explicit pre-activation target re-confirmation
Per the manifest's own header, the gated activation checklist now opens with re-confirming every target's
layoutandincludelist against the live repos immediately before wiring — rollout.md (which seeded the manifest) is a dated snapshot, and the authoring-time manifest pass does not stand in for it.The sync workflow itself remains inert / not wired — no activation in this PR.
Closes #55
🤖 Generated with Claude Code
https://claude.ai/code/session_017K9RRMdUKD7HLExmHwMXAe
Note
Low Risk
Documentation and Ruff stub configuration only; no sync wiring, auth secrets, or production runtime changes.
Overview
Closes deferred Track B review items so config distribution can be wired later; the sync workflow stays inert in this PR.
Ruff local vs CI parity: The root
ruff.tomlstub now adds[lint.extend-per-file-ignores]fortests/**so auto-discovered runs match CI (--config modules/python/ruff.toml). Ruff anchors relative ignore paths to the config file underextend, but to the CWD under--config, which had narrowed test ignores tomodules/python/tests/**locally.modules/python/ruff.tomlcomments now documentextend-per-file-ignores, replace-vs-merge behavior, and this anchoring;config-distribution-plan.mdrecords the same for the dogfood stub.Activation plan: Auth no longer assumes Pulumi can create a GitHub App—manual bootstrap per account, then
github-iacfor repo grants and caller secrets. The gated checklist adds re-confirm manifest targets against live repos immediately before wiring (rollout snapshot is not enough).Reviewed by Cursor Bugbot for commit 43c4f64. Bugbot is set up for automated code reviews on this repo. Configure here.