From a40a402254fc0038f7a5c1e0ea17cd6f365084d6 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Thu, 12 Nov 2026 02:19:47 -0500 Subject: [PATCH 01/53] chore(deploy): pin all CF modules to cflinuxfs5 stack (#3111) Explicitly set stack: cflinuxfs5 on every deployable module across all three MTA descriptors (.deploy/mta.yaml, root mta.yaml, mta-mcp.yaml) so modules no longer inherit the space-default cflinuxfs4 (Ubuntu 22.04), which SAP is retiring. cflinuxfs5 = Ubuntu 24.04. Modules pinned: tutorials-srv, tutorials-srv-qa, tutorials-srv-mcp (nodejs); tutorials-db-deployer, tutorials-db-qa-deployer (hdb); tutorials-approuter (approuter.nodejs). Resource modules (HDI containers, xsuaa, etc.) don't stage and take no stack. Also refresh a stale cflinuxfs4 rootfs reference in curl-transport.js. Validated: mbt validate -m schema passes clean (strict) on all three. --- .deploy/mta.yaml | 5 +++++ mta-mcp.yaml | 1 + mta.yaml | 5 +++++ srv/lib/curl-transport.js | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.deploy/mta.yaml b/.deploy/mta.yaml index 9708446d6..d388ec0c5 100644 --- a/.deploy/mta.yaml +++ b/.deploy/mta.yaml @@ -82,6 +82,7 @@ modules: path: ../gen/db parameters: buildpack: nodejs_buildpack + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) properties: # Two HDI services bound (own container + devtoberfest-planner-db grantor), # so the HDI deployer cannot auto-detect the target — name it explicitly. @@ -97,6 +98,7 @@ modules: path: ../gen/db-qa parameters: buildpack: nodejs_buildpack + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) requires: - name: tutorials-hana-qa - name: tutorials-cloud-logging # same as tutorials-db-deployer; mirrors the prod binding for QA forensic parity. @@ -118,6 +120,7 @@ modules: # so the next deploy doesn't revert it back to 1GB. disk-quota: 2048M buildpack: nodejs_buildpack + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) # DO NOT raise instances without addressing in-process rate limiters in # srv/developer-service.js, srv/lib/ip-rate-limit.js, srv/lib/chat-rate-limit.js. # See docs/developers/operations/mta-deployment.md "Scaling Constraints" and TODO §22. @@ -190,6 +193,7 @@ modules: memory: 2048M disk-quota: 1024M buildpack: nodejs_buildpack + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) instances: 1 health-check-type: http health-check-http-endpoint: /health/ready @@ -320,6 +324,7 @@ modules: # not baseline. disk-quota already 2048M (logs stream off-container to # stdout/stderr, so disk is not the OOM vector — 33% used at steady state). memory: 2048M + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) app-name: tutorials-approuter instances: 1 # Lower bound; Autoscaler manages up to instance_max_count via binding-level config in requires below (#749) properties: diff --git a/mta-mcp.yaml b/mta-mcp.yaml index 07ad0a6c2..3fa3abaca 100644 --- a/mta-mcp.yaml +++ b/mta-mcp.yaml @@ -43,6 +43,7 @@ modules: memory: 1024M disk-quota: 1024M buildpack: nodejs_buildpack + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) instances: 1 properties: NODE_ENV: production diff --git a/mta.yaml b/mta.yaml index b6b043c84..343c76e34 100644 --- a/mta.yaml +++ b/mta.yaml @@ -138,6 +138,7 @@ modules: memory: 2048M disk-quota: 1024M buildpack: nodejs_buildpack + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) # DO NOT raise instances without addressing in-process rate limiters in # srv/developer-service.js, srv/lib/ip-rate-limit.js, srv/lib/chat-rate-limit.js. # See docs/developers/operations/mta-deployment.md "Scaling Constraints" and TODO §22. @@ -194,6 +195,7 @@ modules: memory: 2048M disk-quota: 1024M buildpack: nodejs_buildpack + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) instances: 1 health-check-type: http health-check-http-endpoint: /health/ready @@ -220,6 +222,7 @@ modules: path: gen/db parameters: buildpack: nodejs_buildpack + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) properties: # Two HDI services bound (own container + devtoberfest-planner-db grantor), # so the HDI deployer cannot auto-detect the target — name it explicitly. @@ -235,6 +238,7 @@ modules: path: gen/db-qa parameters: buildpack: nodejs_buildpack + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) requires: - name: tutorials-hana-qa - name: tutorials-cloud-logging # same as tutorials-db-deployer; mirrors the prod binding for QA forensic parity. @@ -250,6 +254,7 @@ modules: parameters: disk-quota: 2048M memory: 512M + stack: cflinuxfs5 # cflinuxfs4→5 migration (#3111) app-name: tutorials-approuter instances: 1 # Lower bound; Autoscaler manages up to instance_max_count via binding-level config in requires below (#749) properties: diff --git a/srv/lib/curl-transport.js b/srv/lib/curl-transport.js index e36dfb30e..90ad492a2 100644 --- a/srv/lib/curl-transport.js +++ b/srv/lib/curl-transport.js @@ -11,7 +11,7 @@ // node fetch (any UA) → 403 // So bumping the User-Agent cannot fix it — headers ride inside a connection // whose fingerprint is already flagged. We route the fetch through the curl -// binary (present in the cflinuxfs4 rootfs) to borrow its TLS fingerprint. +// binary (present in the cflinuxfs5 rootfs) to borrow its TLS fingerprint. // // SECURITY: this is a `fetch`-shaped TRANSPORT only. It performs NO SSRF // validation of its own — it is designed to be injected into safeFetch() From d7ea8eabc2af6e50945d846363407af58cc20f2b Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Thu, 12 Nov 2026 03:16:40 -0500 Subject: [PATCH 02/53] feat(navigator): float selected filters to top of each column (#3112) --- hugo-apps/src/navigator/TutorialNavigator.vue | 30 ++++++++++++++++--- .../__tests__/partitionSelected.test.ts | 20 +++++++++++++ hugo-apps/src/shared/partitionSelected.ts | 25 ++++++++++++++++ 3 files changed, 71 insertions(+), 4 deletions(-) create mode 100644 hugo-apps/src/shared/__tests__/partitionSelected.test.ts create mode 100644 hugo-apps/src/shared/partitionSelected.ts diff --git a/hugo-apps/src/navigator/TutorialNavigator.vue b/hugo-apps/src/navigator/TutorialNavigator.vue index 822bf7f2a..e87f30d41 100644 --- a/hugo-apps/src/navigator/TutorialNavigator.vue +++ b/hugo-apps/src/navigator/TutorialNavigator.vue @@ -4,6 +4,7 @@ import type { TutorialEntry, CardItem, MissionRef, GroupRef } from '@shared/type import Skeleton from '@shared/Skeleton.vue' import { toLookup, emptyProgress, type ProgressPayload } from './cardProgress' import { isWithinNewWindow } from '../shared/freshness' +import { partitionSelected } from '@shared/partitionSelected' import { useNavigatorFilters } from '@shared/composables/useNavigatorFilters' import { wireTracker } from '@shared/analytics/wire-tracker' // /browse/ ships ?sort= via browseUrl.ts. Reusing that module here (#199) @@ -203,6 +204,27 @@ const { clientSearch, }) +// Partition filter lists so selected items float to the top (#3112). +const orderedTopics = computed(() => + partitionSelected(filteredTopics, topic => filters.topics.includes(topic)) +) + +const orderedProducts = computed(() => + partitionSelected(filteredProducts, product => isProductSelected(product.slugs)) +) + +const orderedLevels = computed(() => + partitionSelected(['beginner', 'intermediate', 'advanced'], level => + filters.levels.includes(level) + ) +) + +const orderedTypes = computed(() => + partitionSelected(['mission', 'group', 'tutorial'], type => + filters.types.includes(type) + ) +) + // Sort UI (#199): reuse /browse/'s ?sort= URL contract via browseUrl.ts — // keeps the URL behavior identical across both surfaces. The composable // also exposes its own `sort` ref (composableSort above); we mirror this @@ -379,7 +401,7 @@ onMounted(async () => { />
-
-