Repository navigation
chore: update OpenAPI to 3359e90fa19e - #773
Conversation
commit: |
|
LGTM! |
There was a problem hiding this comment.
Superseded by the review of
a30e87cb.
This review, of 6af26024
💬 Approved with comments — The regeneration is consistent with the new pin. One WARNING: the changeset does not mention the removed members batch create command or the new bulk-create --organization-id form that replaces it.
Findings: 1 warning (1 is an inline comment on the diff)
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
🔧 Fix with your agent
Paste the following into your coding agent to investigate and fix these issues.
Fix the following code review issues found in pull request #773.
Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order
## WARNING (1)
### [Release] Changeset omits the breaking rename `organizations members batch create <organization-id>` → `organizations members bulk-create --organization-id <id>` (no alias); users upgrading get no migration notice.
- **File:** .changeset/update-openapi-bd5ab6e7888a.md:5
🚀 Release: ⚠️ 1 warning
The changeset does not mention a breaking command rename.
Recommendation: 📝 Minor Comments
- [WARNING] Changeset omits the breaking rename
organizations members batch create <organization-id>→organizations members bulk-create --organization-id <id>(no alias); users upgrading get no migration notice. (.changeset/update-openapi-bd5ab6e7888a.md:5)
View full review
The generated CLI removes cf organizations members batch create <organization-id> (the batch group in organizations/members/batch/index.ts is deleted). It adds cf organizations members bulk-create, which takes the organization ID through the required --organization-id flag instead of as a positional argument. There is no compatibility alias, so scripts that use the old form will fail after upgrading. The minor bump fits a pre-1.0 behavior change, but the changeset body only gives a generic regeneration note. Earlier OpenAPI update changesets in this repository describe renames like this one and say when no alias is provided.
✅ All other checks passed
🔒 Security: ✅ LGTM
No security issues found.
📖 AGENTS.md: ✅ LGTM
No AGENTS.md issues found.
📋 Code Quality: ✅ LGTM
The generated files are consistent with the new pin. Nothing outside _generated refers to members batch.
⚡ Performance: ✅ LGTM
No performance issues found.
📝 Documentation: ✅ LGTM
No documentation issues found.
Reviewed commit: 6af26024
|
| mean | stddev | min | max | |
|---|---|---|---|---|
| PR | 225.3 ms | 3.6 ms | 219.1 ms | 230.0 ms |
| base | 223.0 ms | 4.1 ms | 217.3 ms | 232.8 ms |
Δ (PR vs base): ↑ +2.4 ms (+1.1%)
Measured with hyperfine on ubuntu-latest (3 warmup runs, 20 timed runs). CI numbers carry ±a few ms of runner jitter; treat small deltas as noise.
6af2602 to
a30e87c
Compare
|
No new concerns since the last review |
There was a problem hiding this comment.
Superseded by the review of
0cd25a00.
This review, of a30e87cb
💬 Approved with comments — The regeneration matches the new OpenAPI pin. One WARNING carries over from the last review: the new changeset still does not mention that members batch create was removed and that bulk-create --organization-id replaces it.
Findings: 1 warning
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
🔧 Fix with your agent
Paste the following into your coding agent to investigate and fix these issues.
Fix the following code review issues found in pull request #773.
Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order
## WARNING (1)
### [Release] Changeset omits the breaking rename `organizations members batch create <organization-id>` → `organizations members bulk-create --organization-id <id>` (no alias); scripts using the old form will fail after upgrading with no migration notice.
- **File:** .changeset/update-openapi-7d482cb3126c.md:5
🚀 Release: ⚠️ 1 warning
The new changeset still leaves out the breaking change to the organization-members command.
Recommendation: 📝 Minor Comments
- [WARNING] Changeset omits the breaking rename
organizations members batch create <organization-id>→organizations members bulk-create --organization-id <id>(no alias); scripts using the old form will fail after upgrading with no migration notice. (.changeset/update-openapi-7d482cb3126c.md:5)
View full review
This pull request removes cf organizations members batch create <organization-id>: the batch group in _generated/organizations/members/batch/index.ts is deleted. In its place it adds cf organizations members bulk-create, which takes the organization ID through the required --organization-id flag instead of a positional argument. No compatibility alias is registered.
A minor bump is the right level for a pre-1.0 behavior change. The changeset body, though, only gives a generic regeneration note, so users upgrading get no migration notice. This was raised on the previous changeset file, and the replacement file has the same gap.
✅ All other checks passed
🔒 Security: ✅ LGTM
No security issues found. The bulk-create path parameter is still escaped with encodeURIComponent.
📖 AGENTS.md: ✅ LGTM
No AGENTS.md issues found.
📋 Code Quality: ✅ LGTM
The generated files are consistent with the new pin, including the 403 error mappings and the updated descriptions. Nothing outside _generated refers to members batch. The changeset point is covered under Release.
⚡ Performance: ✅ LGTM
No performance issues found.
📝 Documentation: ✅ LGTM
The changeset omission is covered under Release.
Reviewed commit: a30e87cb
a30e87c to
0cd25a0
Compare
|
Review: 0 findings. |
There was a problem hiding this comment.
Superseded by the review of
a4f776a9.
This review, of 0cd25a00
💬 Approved with comments — The regeneration is consistent and safe. The only open note is that the changeset is missing a migration line for the members batch create → bulk-create rename.
Findings: 1 info (1 is an inline comment on the diff)
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
🚀 Release: 💬 1 info
The changeset still omits the members command rename and has no migration note.
Recommendation: 💬 Optional Nits
- [INFO] The changeset does not mention that
organizations members batch create <organization-id>was replaced byorganizations members bulk-create --organization-id <id>, or thato11y destinations getwas added. (.changeset/update-openapi-3359e90fa19e.md:5)
View full review
This pull request removes the cf organizations members batch create <organization-id> command, and no alias replaces it. The new form is cf organizations members bulk-create --organization-id <id>. The pull request also adds cf o11y destinations get <slug>. A minor bump is the right level for a pre-1.0 change, but the body of .changeset/update-openapi-3359e90fa19e.md is only a generic regeneration note. Users who upgrade will not learn from it that scripts using the old form need updating.
✅ All other checks passed
🔒 Security: ✅ LGTM
No security issues found. The slug and organization-id path parameters go through the shared path helper, and both are escaped with encodeURIComponent in the dry-run URLs. The threat-signals changes only add 403 error mappings.
📖 AGENTS.md: ✅ LGTM
The existing AGENTS.md guidance still covers this change. The changeset note is covered under Release.
📋 Code Quality: ✅ LGTM
The generated files are consistent with the new pin. The new o11y/destinations/get.ts follows the same pattern as the other destinations commands, and index.ts registers it. The bulk-create operation import path was updated for the removed batch/ directory. Nothing outside _generated refers to the old members batch path.
⚡ Performance: ✅ LGTM
No performance impact. The changes are regenerated metadata and thin command wrappers, and they do not touch startup paths.
📝 Documentation: ✅ LGTM
No documentation issues beyond the changeset note under Release.
Reviewed commit: 0cd25a00
|
LGTM! |
There was a problem hiding this comment.
✅ Approved — The regeneration is consistent with the new OpenAPI pin. The changeset now covers the breaking members batch create → bulk-create --organization-id migration and the new o11y destinations get command, which resolves the only open note from the last review.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
The previous note is resolved. .changeset/update-openapi-3359e90fa19e.md now says that cf organizations members batch create <organization-id> is replaced by cf organizations members bulk-create --organization-id <organization-id>, and that no compatibility alias is provided. It also announces the new cf o11y destinations get <slug>. A minor bump is the right level for this pre-1.0 breaking change.
🔒 Security: ✅ LGTM
No security issues found.
📖 AGENTS.md: ✅ LGTM
The changeset follows the repository's changeset rules: minor for a pre-1.0 behavior change, with a short body.
📋 Code Quality: ✅ LGTM
🔄 Since last review: 1 finding resolved, 0 preserved, 0 new.
The generated files agree with the new pin:
- Members rename:
_meta/commands.json,_meta/schemas.json, thebulk-createcommand andmembers/index.tsall match.organization-idis now an option, not a positional argument. - New command:
o11y destinations getis wired up through its operation file andindex.ts. - Threat Signals: the changes only add 403 error mappings and update description text.
⚡ Performance: ✅ LGTM
No performance impact.
📝 Documentation: ✅ LGTM
No documentation issues.
Reviewed commit: a4f776a9
Updates cf to
cloudflare/api-schemas@3359e90fa19e8e250ab5a402b0f9dbe65bbe82a3.3359e90fa19e8e250ab5a402b0f9dbe65bbe82a3This PR is maintained automatically by the Update OpenAPI workflow.