Skip to content

Template 0.1.46: installers use LabConstrictor-Tools v0.3.0-alpha.6 - #70

Merged
guijacquemet merged 1 commit into
mainfrom
claude/laughing-wright-s6cht3
Dec 4, 2026
Merged

guijacquemet merged 1 commit into
mainfrom
claude/laughing-wright-s6cht3

Conversation

@guijacquemet

@guijacquemet guijacquemet commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Template 0.1.46: the installers pin LabConstrictor-Tools to v0.3.0-alpha.6 instead of v0.3.0-alpha.5.

Tools v0.3.0-alpha.6 adds @tool(..., run_again=False) (CellMigrationLab/LabConstrictor-Tools#177). With Fiji v0.1.0-alpha.11, a tool that sets it does not show its form again after a run that completed. LabConstrictor-CAREamics uses it for its four training tools: testers took the form coming back after a long training for a fault.

Changes

  • LC_TOOLS_PIN in app/bash_bat_scripts/post_install.sh and post_install.bat (CRLF kept) is set to v0.3.0-alpha.6.
  • Migration v0_1_45_to_v0_1_46.py moves the pin only when the line still holds v0.3.0-alpha.5. A pin set by hand stays, and the sync log reports SKIPPED.
  • Design note: .tools/docs/migration_0_1_46.md. The manifest is set to 0.1.46.
  • Tests:
    • tests/test_template_sync_0_1_46.py is new.
    • tests/_v0_1_46.py (before_0_1_46) is chained from _v0_1_45, so the older migration tests still compare against the files as they were.

Merge order

Merge only after the tag v0.3.0-alpha.6 exists in LabConstrictor-Tools. Until then, an installer built from this template cannot install Tools.

Checks

pytest tests: 626 passed. ruff check and mypy pass.

Checklist

  • Changes a button label, form field, workflow or artifact name, installer name or file path? No. The pin value is described in .tools/docs/migration_0_1_46.md.
  • Bumped template_version if users must act (0.1.46)
  • Screenshots still valid (no UI change)

https://claude.ai/code/session_01G3qp9AoUT3RtgWWsiVVarX


Generated by Claude Code

LC_TOOLS_PIN in post_install.sh / .bat moves from v0.3.0-alpha.5 to
v0.3.0-alpha.6 (@tool(run_again=False): Fiji v0.1.0-alpha.11 does not show
a training tool's form again after a run that completed). The migration
moves the pin only when it still holds the template's old value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3qp9AoUT3RtgWWsiVVarX

Copy link
Copy Markdown
Collaborator Author

The three "Smoke install of post_install" jobs fail because the tag v0.3.0-alpha.6 does not exist yet in LabConstrictor-Tools (the API returns 404 for it). post_install cannot download the pinned Tools archive, so the app is not registered ("no registry entry"). This PR is what makes that pin a requirement, as the merge note in the description says. Once the tag is published, re-running the jobs should turn them green. Nothing to change in this PR.


Generated by Claude Code

@guijacquemet
guijacquemet merged commit f88abf4 into main Dec 4, 2026
5 of 8 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.

2 participants