Public Access
auto-bump stamps manifest version but doesn't add a schema update marker -> recurring #__schemas version-lag #354
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The universal version-bump automation (
templates/workflows/universal/auto-bump.yml, and the pre-release/build stamping) increments the Joomla extension manifest<version>but does NOT add a corresponding schema update marker under the extension's<schemas><schemapath>(e.g.admin/sql/updates/mysql/<version>.sql). Joomla advances#__schemasonly to the highest update-file version that is> currentand<= manifest, so with no marker at the bumped version,#__schemasfreezes at the last real migration while the manifest keeps climbing.com_installer(System > Maintenance > Database) then perpetually reports the component a schema version behind.Evidence
MokoSuiteClient hit this repeatedly — each bump required a manual no-op marker:
It recurs on every auto-bump because the bump and the marker are decoupled.
Proposed fix
When the bump workflow updates a Joomla extension manifest
<version>AND that manifest declares<update><schemas><schemapath type="mysql">...</schemapath>, also create a comment-only no-op marker at the resolved schemapath:named
<newversion>.sql. Constraints: honor the existing CI rule migration filename <= manifest version (create it in the same commit as the bump so they stay in lockstep); resolve schemapath relative to the<administration><files folder=...>root (admin-relative); skip non-Joomla / no-schemapath extensions. Doing it at bump time (rather than pre-release) keeps dev green too.Impact
Eliminates the recurring 'schema version behind' false-positive across all Joomla extension repos that sync these workflows; removes the need for manual marker PRs after every version bump.
https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
Branch created:
feature/354-auto-bump-stamps-manifest-version-but-do