Skip to content

feat: url_check forbids unpinned blob/main and workspace chapter Colab URLs - #44

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/colab-maturity
Jul 9, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/colab-maturity

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

The Colab census (PyAutoLabs/PyAutoHands#124) found two URL-rot classes that bump_colab_urls.sh structurally cannot maintain: 71 unpinned /blob/main/ Colab links in HowToLens chapter READMEs (the bumper only rewrites date-tagged URLs) and 28 Colab links pointing at notebooks/chapter_* paths in workspace repos (the chapters live in the HowTo repos — dead links that get dutifully re-bumped every release). This adds both as offline forbidden patterns in heart/checks/url_check.sh, so the rot class cannot recur, and updates the /blob/release/ label to stop recommending /blob/main/.

Heads-up: the Monday central sweep will go red on the existing rot until phase 2 (parked at PyAutoMind/feature/workspaces/colab_link_rot.md) fixes the links — this is the intended forcing function.

Part of PyAutoLabs/PyAutoHands#124 (Colab maturity, phase 1).

API Changes

None — internal changes only (offline check patterns + tests).

Test Plan

  • python3 -m pytest tests/ — 232 passed (5 new in test_url_check.py: blob/main fails for notebook repos, passes for other repos; workspace chapter path fails; HowTo chapter path passes; workspace non-chapter notebook passes)

🤖 Generated with Claude Code

Two new offline forbidden patterns close the release bumper's blind
spots found by the Colab census: /blob/main/ Colab URLs to the six
notebook repos (the bumper only rewrites date-tagged URLs, so main-
pinned links silently drift) and notebooks/chapter_* Colab URLs
pointing at workspace repos (chapter tutorials live in the HowTo
repos). The /blob/release/ label no longer suggests /blob/main/ as the
fix.

The Monday central sweep will flag existing rot (HowToLens chapter
READMEs, HowToGalaxy wrong-repo links) until the parked phase-2 prompt
(PyAutoMind feature/workspaces/colab_link_rot.md) lands — intended.

Part of PyAutoLabs/PyAutoHands#124

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release Awaiting a published release label Jul 9, 2026
@Jammy2211
Jammy2211 merged commit 0f01099 into main Jul 9, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/colab-maturity branch July 9, 2026 15:21
@Jammy2211 Jammy2211 removed the pending-release Awaiting a published release label Oct 7, 2026
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