Skip to content

Read Babel version from index metadata - #37

Merged
shuchenliu merged 4 commits into
mainfrom
fix/babel-status-version
Sep 24, 2026
Merged

shuchenliu merged 4 commits into
mainfrom
fix/babel-status-version

Conversation

@shuchenliu

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🔵 Needs a closer look

Legacy fallback health links can point to a nonexistent release URL.

Review effort: Lite
Findings: None

What changed in this PR

Adds Babel version extraction from index metadata with legacy URL fallback and updates health response links.

Changes:

  • Added Babel version resolution and release URL handling.
  • Updated health responses to use the resolved version.
  • Added tests for metadata and legacy fallback behavior.
File Summary
tests/​test_health.py Tests explicit and legacy version sources.
src/​nodenorm/​handlers/​health.py Uses resolved Babel metadata; legacy fallback links may omit the required .md suffix.
src/​nodenorm/​babel.py Implements Babel version extraction.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@shuchenliu

shuchenliu commented Sep 24, 2026 •

Copy link
Copy Markdown
Member Author

Addressed the Copilot review concern in d4f5d0a. babel_version_url now targets Babel’s canonical release-notes document at releases/{version}/README.md. Verified both legacy 2025sep1 and current 2026jul22 URLs return HTTP 200, and added exact assertions for both paths. The 10 targeted and adjacent tests pass.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified.

Review effort: Lite
Findings: None

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

@shuchenliu
shuchenliu merged commit 7cab988 into main Sep 24, 2026
1 check 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.

2 participants