From b1c33ea46824b0ba45543d33ab523661ff83da17 Mon Sep 17 00:00:00 2001 From: Ivy Olamit Date: Thu, 26 Mar 2026 15:56:46 -0700 Subject: [PATCH 1/6] [LEMS-4022/update-schema-change-message] docs(changeset): --- .changeset/shy-wasps-argue.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .changeset/shy-wasps-argue.md diff --git a/.changeset/shy-wasps-argue.md b/.changeset/shy-wasps-argue.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/shy-wasps-argue.md @@ -0,0 +1,2 @@ +--- +--- From c7cf3838fd90dc2579821c94fde5d4e4d453407e Mon Sep 17 00:00:00 2001 From: Ivy Olamit Date: Thu, 26 Mar 2026 15:58:40 -0700 Subject: [PATCH 2/6] [LEMS-4022/update-schema-change-message] Update GitHub action message for schema change to include release order info --- .github/actions/branch-compare/action.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/actions/branch-compare/action.yml b/.github/actions/branch-compare/action.yml index f5112fa2d5d..db75d47065d 100644 --- a/.github/actions/branch-compare/action.yml +++ b/.github/actions/branch-compare/action.yml @@ -125,13 +125,15 @@ runs: body: | # ${{ inputs.comment-title }}: Changes Detected ⚠️ - **Usually this means you need to update the Go parser - that Content Platform maintains!!!** + **Usually this means you need to update the Go parser that Content Platform maintains!!!** + Follow these [steps](https://khanacademy.atlassian.net/wiki/spaces/LC/pages/4161831001/Releasing+and+deploying+a+data-schema+change+in+Perseus#tl%3Bdr) on how to release. [See this list of post-mortems for more information.](https://khanacademy.atlassian.net/wiki/spaces/ENG/pages/4504322159/Content+Platform+Breaks) - This PR contains critical changes to Perseus. Please review - the changes and note that you may need to coordinate - deployment of these changes with other teams at Khan Academy. + This PR contains critical changes to Perseus. + Please review the changes and note that you may need to + coordinate deployment of these changes with other teams + at Khan Academy, especially with #cp-eng to publish a + content update. ```diff ${{ steps.compare-artifacts.outputs.diff-content }} From dea79b0bab6461ba2367839667656efadce3f135 Mon Sep 17 00:00:00 2001 From: Ivy Olamit Date: Thu, 26 Mar 2026 16:02:29 -0700 Subject: [PATCH 3/6] [LEMS-4022/update-schema-change-message] Temporary commit for testing --- packages/perseus-core/src/data-schema.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/packages/perseus-core/src/data-schema.ts b/packages/perseus-core/src/data-schema.ts index a5f666fb676..77d593af6b7 100644 --- a/packages/perseus-core/src/data-schema.ts +++ b/packages/perseus-core/src/data-schema.ts @@ -1109,6 +1109,7 @@ export type PerseusGraphType = | PerseusGraphTypeSegment | PerseusGraphTypeSinusoid | PerseusGraphTypeExponential + | PerseusGraphTypeLogarithm | PerseusGraphTypeTangent; export type PerseusGraphTypeAngle = { @@ -1255,6 +1256,18 @@ export type PerseusGraphTypeAbsoluteValue = { startCoords?: [Coord, Coord]; }; +export type PerseusGraphTypeLogarithm = { + type: "logarithm"; + // Two points along the logarithmic curve. + coords?: Coord[] | null; + // Two points defining the vertical asymptote line. + asymptote?: [Coord, Coord] | null; + // The initial coordinates the graph renders with. + startCoords?: Coord[]; + // The initial asymptote position the graph renders with. + startAsymptote?: [Coord, Coord]; +}; + export type PerseusGraphTypeRay = { type: "ray"; /** Expects a list of 2 Coords */ @@ -1332,6 +1345,12 @@ type TangentGraphCorrect = { coords: CollinearTuple; }; +type LogarithmGraphCorrect = { + type: "logarithm"; + coords: CollinearTuple; + asymptote: [Coord, Coord]; +}; + type RayGraphCorrect = { type: "ray"; coords: CollinearTuple; @@ -1351,6 +1370,7 @@ export type PerseusGraphCorrectType = | SegmentGraphCorrect | SinusoidGraphCorrect | ExponentialGraphCorrect + | LogarithmGraphCorrect | TangentGraphCorrect; /** Options for the label-image widget. Asks learners to label image parts. */ From 703f1136fc9b7cb3d9ab7dd62a3476e61446d8e7 Mon Sep 17 00:00:00 2001 From: Ivy Olamit Date: Thu, 26 Mar 2026 17:07:59 -0700 Subject: [PATCH 4/6] [LEMS-4022/update-schema-change-message] undo temporary change for testing --- packages/perseus-core/src/data-schema.ts | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/packages/perseus-core/src/data-schema.ts b/packages/perseus-core/src/data-schema.ts index 77d593af6b7..a5f666fb676 100644 --- a/packages/perseus-core/src/data-schema.ts +++ b/packages/perseus-core/src/data-schema.ts @@ -1109,7 +1109,6 @@ export type PerseusGraphType = | PerseusGraphTypeSegment | PerseusGraphTypeSinusoid | PerseusGraphTypeExponential - | PerseusGraphTypeLogarithm | PerseusGraphTypeTangent; export type PerseusGraphTypeAngle = { @@ -1256,18 +1255,6 @@ export type PerseusGraphTypeAbsoluteValue = { startCoords?: [Coord, Coord]; }; -export type PerseusGraphTypeLogarithm = { - type: "logarithm"; - // Two points along the logarithmic curve. - coords?: Coord[] | null; - // Two points defining the vertical asymptote line. - asymptote?: [Coord, Coord] | null; - // The initial coordinates the graph renders with. - startCoords?: Coord[]; - // The initial asymptote position the graph renders with. - startAsymptote?: [Coord, Coord]; -}; - export type PerseusGraphTypeRay = { type: "ray"; /** Expects a list of 2 Coords */ @@ -1345,12 +1332,6 @@ type TangentGraphCorrect = { coords: CollinearTuple; }; -type LogarithmGraphCorrect = { - type: "logarithm"; - coords: CollinearTuple; - asymptote: [Coord, Coord]; -}; - type RayGraphCorrect = { type: "ray"; coords: CollinearTuple; @@ -1370,7 +1351,6 @@ export type PerseusGraphCorrectType = | SegmentGraphCorrect | SinusoidGraphCorrect | ExponentialGraphCorrect - | LogarithmGraphCorrect | TangentGraphCorrect; /** Options for the label-image widget. Asks learners to label image parts. */ From 172e3f96858f3cda500b5b23f896388b020d4410 Mon Sep 17 00:00:00 2001 From: Ivy Olamit Date: Tue, 7 Apr 2026 13:45:29 -0700 Subject: [PATCH 5/6] Update .github/actions/branch-compare/action.yml Co-authored-by: Jeremy Wiebe --- .github/actions/branch-compare/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/branch-compare/action.yml b/.github/actions/branch-compare/action.yml index db75d47065d..529a0c03e02 100644 --- a/.github/actions/branch-compare/action.yml +++ b/.github/actions/branch-compare/action.yml @@ -125,7 +125,8 @@ runs: body: | # ${{ inputs.comment-title }}: Changes Detected ⚠️ - **Usually this means you need to update the Go parser that Content Platform maintains!!!** + **Usually this means you need to update the Go parser + that Content Platform maintains!!!** Follow these [steps](https://khanacademy.atlassian.net/wiki/spaces/LC/pages/4161831001/Releasing+and+deploying+a+data-schema+change+in+Perseus#tl%3Bdr) on how to release. [See this list of post-mortems for more information.](https://khanacademy.atlassian.net/wiki/spaces/ENG/pages/4504322159/Content+Platform+Breaks) From 1855372790c23294c34d7c0c30acebaba9788274 Mon Sep 17 00:00:00 2001 From: Ivy Olamit Date: Tue, 7 Apr 2026 13:46:21 -0700 Subject: [PATCH 6/6] Update .github/actions/branch-compare/action.yml Co-authored-by: Jeremy Wiebe --- .github/actions/branch-compare/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/branch-compare/action.yml b/.github/actions/branch-compare/action.yml index 529a0c03e02..3620b033a3f 100644 --- a/.github/actions/branch-compare/action.yml +++ b/.github/actions/branch-compare/action.yml @@ -130,7 +130,7 @@ runs: Follow these [steps](https://khanacademy.atlassian.net/wiki/spaces/LC/pages/4161831001/Releasing+and+deploying+a+data-schema+change+in+Perseus#tl%3Bdr) on how to release. [See this list of post-mortems for more information.](https://khanacademy.atlassian.net/wiki/spaces/ENG/pages/4504322159/Content+Platform+Breaks) - This PR contains critical changes to Perseus. + This PR contains critical changes to Perseus that affect published data. Please review the changes and note that you may need to coordinate deployment of these changes with other teams at Khan Academy, especially with #cp-eng to publish a