Repository navigation
Release 1.44.2: DEV to main promotion - #3129
Merged
Merged
Conversation
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.
chore(deploy): migrate CF modules to cflinuxfs5 stack (#3111)
- Add `products: array of String` and `isNewCutoffISO: String` params to
the `getFacets` CDS function declaration (srv/search-service.cds)
- After the existing taskTypes/experience .where clauses in the handler
(srv/search-service.js ~L563-564), add:
if (products?.length) q.where({ primaryTag: { in: products } });
if (isNewCutoffISO) q.where`createdAt > ${isNewCutoffISO}`;
Both use cds.ql — no raw SQL strings; compatible with in-memory SQLite.
- Add 3 new assertions to the existing describe('getFacets') block in
test/search-service.test.js verifying product filter exclusion, date
cutoff exclusion, and backward-compatible default behaviour.
All 33 tests pass.
…3112) Add an at-cutoff seed row (`facet-exact-tut`, createdAt === cutoff ISO) and assert it is excluded alongside the before-cutoff row, proving the handler's `createdAt > cutoff` is strict (not >=). Rename the test from "before or on" to "at or before the cutoff (strict >)" to match reality.
…#3090) - publishValidateAnswerSpecs: destructure `gradingContext` from payload; byte-cap reject (400 too_long) before any DB write; inside cds.tx() REPLACE TutorialGradingContext row (DELETE then conditional INSERT); absent/empty → DELETE only (clears stale); TutorialGradingContext entity absent (srv-qa) → skip without throwing. - fetch-tutorials.ts: add `gradingContext` to parseRulesVrEnriched destructure; write sidecar when aiGradedSpecs present OR gradingContext present; include gradingContext in sidecar payload when non-empty. - publish-validate-answer.js: update comment to document new payload shape { slug, specs, gradingContext? }; raw-bytes send already carries it. - Test: 9 cases covering write, replace, clear, byte-cap, unknown-slug.
- validate-answer-prompt: PROMPT_VERSION v4→v5; buildUserMessage gains optional gradingContext inserted after videoContext, before expected- answer; system prompt adds grading-context domain-guidance line - code-check-prompt: PROMPT_VERSION v2→v3; buildUserMessage gains optional gradingContext inserted before referenceSolution; system prompt adds grading-context domain-guidance line (rule 10) - Both: absent/empty gradingContext → byte-identical to prior version - Tests: 4 new cases per module (present, positioning, baseline, sys prompt)
- srv/admin-service.cds: add @readonly TutorialGradingContext projection; add Tutorials.gradingContext to-one association mirroring codeCheckSpecs - app/admin-annotations.cds: field annotations + FieldGroup#GradingContext for TutorialGradingContext; add AI Grading Context facet to Tutorials OP between Code-Check Specs and AI-Author Requests - app/admin/joule/webapp/view/Settings.view.xml: add gradingContextEnabled Switch in the AI Grading panel, mirroring codeCheckEnabled layout - app/admin/joule/webapp/controller/Settings.controller.js: wire gradingContextEnabled into JSONModel default, _loadSettings, and onSave - app/admin/joule/webapp/i18n/i18n.properties: add gradingContextEnabled and gradingContextEnabledHelp keys - srv/__tests__/admin-grading-context-projection.test.js: TDD test (4/4 pass) verifying GET, POST/PATCH rejection, and gradingContext $expand
New reference doc docs/developers/reference/grading-context.md covers: - [GRADING_CONTEXT] block syntax (###Domain/###GradingCriteria/###CommonMistakes) - Tutorial-wide scope, all three graders (validate-answer, code-check, challenge-grade) - Published via existing validate-answer-specs publish — no new endpoint - Runtime: grading-context-loader.js reads TutorialGradingContext, injected via buildUserMessage(); gated by ChatSettings.gradingContextEnabled (default OFF, fail-open) - Admin-UI read-only display on Tutorial object page srv-qa cp-list audit: grading-context-loader.js is NOT reachable from content-store.js (imported only by server.js) — no mta.yaml change needed. Cross-reference line added to docs/developers/architecture/free-text-grader.md.
Research + design for moving batch/stored-row embedding generation from the Node/CAP layer into HANA (VECTOR_EMBEDDING via TUTORIALS_AICORE), following Phase 1's connection+proof. Scope: batch/stored writes only (query-path embeds deferred). Mechanism: CAP-native stored calc element for NVARCHAR sources (Concepts first target), trigger/CREATE_VECTOR_EMBEDDINGS for NCLOB corpus tables. Gating unknown Q5: DOCUMENT-type cosine comparability with the existing untyped Node corpus — spike first. Builder-checked by subagent; findings folded in.
DEV spike proved DB-side VECTOR_EMBEDDING and the Node @sap-ai-sdk path produce identical vectors (cosine 1.0); DOCUMENT/QUERY is a no-op for text-embedding-3-small. Q5 resolved in favour of the incremental rollout. Separate finding: the already-stored corpus is stale (0.828) vs the live model, so each table wants a one-shot re-embed on migration.
… context (#3090) - db/last-dev/csn.json + ChatSettings hdbmigrationtable regenerated via cds build --production (gradingContextEnabled column) — fixes the check-cds-build-staging CI failure - docs/authors/writing-tutorials.md: document the [GRADING_CONTEXT] block for tutorial authors
…-grading-context fix(docs): register grading-context page in sidebar
…e/rollback runbook
… concat; runbook notes
…dbside-embedding feat(#2810): Concepts.embeddingVec generated DB-side (Unit 1)
- Replace guessed input selectors with getByPlaceholder('Search for a tutorial')
(verified against TutorialNavigator.vue:361-362 — no id/data-testid/type=search)
- Replace a[href*="/missions/"] with a[href*="/tutorials/mission-"] (verified:
mission cards render hrefBase + '/mission-' + slug, all under /tutorials/)
- Remove fallback-and-skip logic on search input; now fails loudly if missing
- G2 asserts lozenge/card consistency: if lozenge ≥ 1 then mission card must be
visible — no silent no-op path remains
…ain (#3112) - Fix test comment in search-service.test.js: mission fixture matches probe token in description, not title; changed comment from "title-match" to "description-match" - Remove redundant optional chain in useNavigatorFilters.ts: progress?.value.authenticated is always safe because .value is always ProgressPayload (authenticated is required)
…-filter-3112 Navigator search & filter improvements (#3112)
The credstore broker began rejecting the no-op update-service the MultiApps
deployer issues for a managed-service resource on every deploy ("Illegal
parameters or arguments used" — broker-side tightening; our descriptor params
never changed), failing cf deploy before any module/DB deploy and blocking all
DEV deploys (surfaced during the #2810 deploy, 2026-11-12).
The instance is already provisioned (plan standard) and healthy. Typing it as
org.cloudfoundry.existing-service makes the deployer bind to it without issuing
create/update, so no rejected update call is made. Same adoption pattern the
MCP MTA uses for shared services; instance lifecycle stays out-of-band per
runtime-config.md. Applies to all envs (no mtaext override).
…rvice fix(deploy): adopt tutorials-credstore as existing-service (unblocks DEV deploys)
…ntor The #2810 Concepts.embeddingVec GENERATED ALWAYS AS (VECTOR_EMBEDDING(..., TUTORIALS_AICORE)) column fails HDI make with [8201003] insufficient privilege: the container object owner (<schema>#OO) has no EXECUTE on the TUTORIALS_AICORE remote source, so it cannot create/validate the generated column at deploy time. Phase 1 (#2849) granted EXECUTE only to the runtime external_privileges_role (the _RT identity) via a direct admin grant — the deploy-time object_owner was never covered. Add a global_object_privileges EXECUTE grant on the remote source to object_owner via the existing tutorials-kg-grantor service (the architecturally correct grantor path for a non-bindable external object; never a manual grant to the container user). PREREQUISITE (one-time instance-admin, per env, NOT in this commit): the tutorials-kg-grantor technical user must hold GRANT EXECUTE ON REMOTE SOURCE TUTORIALS_AICORE TO <kg-grantor-user> WITH GRANT OPTION or the grantor cannot delegate EXECUTE and the deploy still fails. Runbook update to follow.
fix(#2810): grant object_owner EXECUTE on TUTORIALS_AICORE (deploy-time, via kg-grantor)
…oy (#2810) None of the ~19 KG tables were journaled, so their plain .hdbtable artifacts were silently ignored by this container's .hdiconfig (hdbmigrationtable plugin only) and no KG schema change ever deployed. Journaling makes them deploy as migration tables, which is what lets Concepts.embeddingVec's GENERATED ALWAYS column reach the DB. External-ns ConceptLinks journaled via new ext alias.
… (option 2) The GENERATED ALWAYS column can't convert the existing populated Concepts table: the hdbtable->hdbmigrationtable transition is data-preserving (HDI adopts the table as v1, applies no DDL), so the generated clause never takes effect — and it shipped to DEV leaving embeddingVec unwritten on HANA (Node write was removed expecting the generated column). Revert both #2810 write removals (5d63197, 4357241), delete the generated-column annotation. The systemic KG journaling fix stays — that's the real win: KG schema changes now actually deploy. embeddingVec remains a Node-written plain column.
…ition (#2810) Data-preserving hdbtable->hdbmigrationtable transition: list the legacy plain .hdbtable artifact paths so HDI cleanly deregisters them and the new migration tables adopt the existing populated tables in place (no drop, no data loss). Matches the existing Tutorials/Users/ChatSettings undeploy pattern.
20 new .hdbmigrationtable artifacts (Concepts + KG graph/link/sidecar tables), all version=1 with plain columns; last-dev/csn.json updated to the journaled baseline. check-cds-build-staging.ts passes (no build diff).
…lumn (#2810) Rewrites the prior generated-column contract test for option 2: INSERT without embeddingVec leaves it NULL (no DB-side generation), a raw UPDATE writing TO_REAL_VECTOR succeeds (column is writable, not GENERATED ALWAYS), and GENERATION_TYPE is NULL in SYS.TABLE_COLUMNS. Self-skips off-DEV.
…KG now journaled (#2810) Appendix 1 described the generated-column approach as shipped; it was reverted (option 2). Rewrite to record the real outcome: embeddingVec stays Node-written, all KG tables are now journaled (the actual fix for the systemic ignored-artifact bug), and WHY a generated column can't retrofit a populated REAL_VECTOR column. Flags the deferred external-content fossil finding.
…dding-kg-rebuild fix(kg): journal all KG tables so schema changes actually deploy (#2810)
The object_owner global_object_privileges EXECUTE grant on the TUTORIALS_AICORE remote source (PR #3125) was added only so the HDI object owner could validate the GENERATED ALWAYS VECTOR_EMBEDDING column at create time. That column was reverted (option 2), so the grant is orphaned — and it now fails the HDI make with 'Invalid privilege EXECUTE', aborting the DEV deploy (run 20261112-162258). Nothing in the deployed app references the remote source (Node uses app-layer @sap-ai-sdk). Reverts _grants.hdbgrants to its pre-#3125 state.
…core-grant fix(kg): remove orphaned TUTORIALS_AICORE EXECUTE grant blocking DEV deploy (#2810)
- Bump .deploy/mta.yaml 1.44.1 -> 1.44.2 (patch; deploy source of truth per deploy-mta.cjs). Headline: KG journaling fix (#2810/#3126/#3127) — knowledge- graph schema changes now actually deploy; plus navigator filter features (#3112). - Refresh hugo/data/whats_new.json — 11 merged PRs since 1.44.1.
release 1.44.2 prep: version bump + whats-new refresh
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.
Release 1.44.2 — DEV → main promotion
Promotes DEV to main for the 1.44.2 PROD release. DEV is ahead of main by 63 commits (feature + fix PRs + release prep).
Merge commit (NOT squash) per
docs/developers/operations/branching-strategy.md§Release — keeps DEV an ancestor of main. A squash here would make DEV show as unmerged forever and replay the whole diff on the next release.Headline changes
embeddingVeccolumn was attempted and reverted — it stays Node-written.Version
.deploy/mta.yaml1.44.1 → 1.44.2 (patch).Post-merge
PROD deploy is a separate MTA deploy step (blue-green) — merging this PR does NOT redeploy PROD. Deploy from fresh
origin/mainafter merge, with explicit go-ahead.🤖 Generated with Claude Code