Fix nightly on Mendix 10.24 (building-block gate) + hub auth proposal#787
Merged
Conversation
Slice 6 of the warm-loop hub work: add owner-only GitHub authentication so a hosted hub.mxcli.org shows each user only their own previews and gates who may register a runtime, while self-hosted hubs stay fully open (opt-in via config). Two planes, both keyed to a single GitHub OAuth App: a browser web flow with a .mxcli.org session cookie for SSO across preview subdomains (viewer.login == preview.Owner), and a headless device-flow bootstrap that mints a hub API key bound to the GitHub login for run --hub registration (X-Hub-Key → stamp Owner). Adds Backend.Owner + filtered listing, the HTTP/flag surface, security notes, five implementation slices, and open questions (key persistence, web bootstrap, OAuth App ownership). Repo/team sharing and GitHub App installs are future work. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JXnEgoc2NQP1Y2TWMCMXC4
The nightly integration matrix (Mendix 10.24 / 11.6 / 11.12) failed only on 10.24: TestMxCheck_DoctypeScripts/15c-fragment-bindings-examples → "failed to build page: building block not found: Atlas_Web_Content.List_Cards" on both engines. 11.6/11.12 and the single-version push-test are green, so it surfaced only in the cross-version nightly. Atlas_Web_Content.List_Cards ships with the Atlas UI in Mendix 11.x but is absent from the 10.x Atlas; the example's building-block rebind demo had no version gate (its comment even wrongly claimed the block is "present in every standard Mendix app"), so on a 10.24 project the whole file ran and mxbuild couldn't resolve the block. (12-styling and 31 already gate their Atlas/design content, which is why only 15c broke.) Add "-- @Version: 11.0+" before the P002_Rebound_Block create page (the file's last statement) so filterByVersion skips only that demo on 10.x; the fragment-binding statements above stay ungated and keep 10.24 coverage. Correct the misleading comment. Verified: 15c passes on 10.24 (section skipped, 0 errors) and still runs and passes the building-block section on 11.6.3 (0 errors). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JXnEgoc2NQP1Y2TWMCMXC4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits on ako/main since the last sync. Clean merge against main.
Fix: nightly integration on Mendix 10.24 (#43)
The nightly matrix (10.24 / 11.6 / 11.12) failed only on 10.24:
TestMxCheck_DoctypeScripts/15c-fragment-bindings-examples→building block not found: Atlas_Web_Content.List_Cards(both engines).Atlas_Web_Content.List_Cardsships with the Atlas UI in 11.x but is absentfrom the 10.x Atlas; the
15cbuilding-block rebind demo had no version gate.Added
-- @version: 11.0+before that demo sofilterByVersionskips only it on10.x — the fragment-binding statements above keep 10.24 coverage. Verified: 15c
passes on 10.24 (section skipped, 0 errors) and still runs+passes the section on
11.6.3 (0 errors).
Docs: tunnel-hub GitHub authentication proposal (#42)
Design proposal for owner-only GitHub auth on a hosted
hub.mxcli.org(OAuthweb flow for browsers + device-flow hub API key for headless registration),
self-hosted stays open. Docs-only; no code.