Skip to content

Fix versioning scheme for updates and SDK re-generation.#2

Merged
kferles merged 2 commits into
mainfrom
kferles/fix-version-scheme
Apr 27, 2026
Merged

Fix versioning scheme for updates and SDK re-generation.#2
kferles merged 2 commits into
mainfrom
kferles/fix-version-scheme

Conversation

@kferles
Copy link
Copy Markdown
Contributor

@kferles kferles commented Apr 26, 2026

No description provided.

@kferles
Copy link
Copy Markdown
Contributor Author

kferles commented Apr 27, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 931195c7ec

ℹ️ 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".

Comment thread scripts/regenerate-sdk.sh
Comment on lines +81 to +84
"README.md",
r"packageVersion=[^,]+",
f"packageVersion={version}",
1,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 Badge Keep README current version in sync on regeneration

The regeneration script says it syncs README.md, but this replacement only updates the packageVersion=... fragment in the generator command. It does not update the README sentence declaring the “current generated package version”, so after running scripts/regenerate-sdk.sh VERSION the file can immediately contain contradictory versions and mislead future releases.

Useful? React with 👍 / 👎.

Comment thread scripts/regenerate-sdk.sh
Comment on lines +87 to +90
"AGENTS.md",
r"(Package version currently used during generation: `)[^`]+(`)",
lambda match: f"{match.group(1)}{version}{match.group(2)}",
1,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 Badge Sync AGENTS preferred command version during regeneration

The AGENTS sync only rewrites the package-version bullet and the packageVersion=... generator argument, but it leaves the “Preferred regeneration command” example unchanged. After the first regen, AGENTS.md will show an outdated scripts/regenerate-sdk.sh <old-version> command alongside updated version metadata, which creates an inconsistent generation contract.

Useful? React with 👍 / 👎.

@kferles kferles merged commit 8bc5203 into main Apr 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant