Skip to content

Remove pilot notes and stop Jekyll processing the lab source - #240

Merged
ivorb merged 1 commit into
mainfrom
fix-pages-build
Aug 17, 2026
Merged

Remove pilot notes and stop Jekyll processing the lab source#240
ivorb merged 1 commit into
mainfrom
fix-pages-build

Conversation

@ivorb

@ivorb ivorb commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Two things

1. Removes the pilot notes. All three consolidated landing pages carried PILOT NOTE (remove before publishing) comment blocks. They described the folder layout, which the Getting started pages and Labfiles/_shared/README.md already cover.

2. Stops Jekyll processing the lab source — and this is most likely the Pages build fix.

On the Pages failures

Builds have failed since 874158e, with the last success at 5017f7f on 14 August:

Build Commit Status
14 Aug 18:33 5017f7f built
17 Aug 14:45 874158e (#232) errored
17 Aug 15:06 c8f028f (#238) errored
17 Aug 15:09 b0ff1d4 (#233) stuck building

The telling detail: #232 touched only Labfiles/ and a workflow file — no Instructions/ content at all. So whatever Jekyll objected to is in lab source it was never meant to render.

Labfiles/_shared/ is the prime suspect. It holds template files containing {{LAB_FOLDER}}, {{AZD_NAME}} and {{LAB_HINT}} placeholders — content that has no business reaching a Liquid renderer.

This excludes Labfiles/ and tools/ from the build. Neither should ever have been published: lab code reaches learners by cloning the repo, and Jekyll was copying about 199 files from Labfiles into _site for no benefit. Faster build, smaller site, and the template placeholders are out of Liquid's reach.

Safety of the exclusion

No page links into Labfiles by a site-relative path. The one reference — a data-folder link in B1 — is an absolute github.com URL and is unaffected.

Honest caveat

I could not read the Pages build log; the API reports only "Page build failed." GitHub was also returning widespread 503s that day, and a build stuck building for hours points at infrastructure trouble too. So this is a well-reasoned fix, not a confirmed one — the test is whether the build goes green after merge.

If it doesn't, the next step is bisecting _config.yml exclusions, and it would be worth asking whoever owns Pages for the build log.

Verification

All Tier 0 checks pass, plus generate_lab_blocks.py --check and sync.py --check. _config.yml parses, and both new exclusions are in place.

The three consolidated landing pages carried PILOT NOTE comment blocks marked
"remove before publishing". They described the folder layout, which the
Getting started pages and Labfiles/_shared/README.md already cover.

Also excludes Labfiles/ and tools/ from the site build. Neither is meant to be
published: lab code reaches learners by cloning the repo, and Jekyll was
copying about 199 files from Labfiles into _site for no benefit.

That exclusion is also the most likely fix for the Pages build failures. They
began at 874158e, which touched only Labfiles and a workflow file - no
Instructions content at all - so whatever Jekyll objected to is in the lab
source it should never have been reading. Labfiles/_shared in particular holds
template files containing {{TOKEN}} placeholders, which are not meant to reach
a Liquid renderer.

No page links into Labfiles by a site-relative path; the single reference is
an absolute github.com URL in B1, which is unaffected.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: dc4690cc-57d6-48a7-abc8-bc8570113ab1
@ivorb
ivorb merged commit 107d462 into main Aug 17, 2026
1 check passed
@ivorb
ivorb deleted the fix-pages-build branch August 17, 2026 18:27
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