Update Dockerfile and requirements for improved dependency management
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 44s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m18s
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 44s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m18s
- Added `tzdata` installation in the Dockerfile to support time zone handling in Linux environments. - Increased `PIP_DEFAULT_TIMEOUT` and added retry logic for pip installations to enhance reliability during dependency installation. - Updated `requirements.txt` to conditionally include `tzdata` for Windows platforms, ensuring compatibility across different operating systems.
This commit is contained in:
1 parent
8f1dad53ab
commit
480890d0c6
10 files changed
+492
-18
No files matched your search
@@ -16,6 +16,7 @@ import {
|
||||
} from '../utils/exerciseAiQuickCreate'
|
||||
import {
|
||||
buildPathGapPlanningContextForAi,
|
||||
buildSlotGapGoalForAi,
|
||||
gapOfferContextDisplayLines,
|
||||
initialStageLearningGoalFromOffer,
|
||||
} from '../utils/planningContextForExerciseAi'
|
||||
@@ -527,15 +528,23 @@ export default function ProgressionGraphEditor({ graphId, embedded = false, onSa
|
||||
|
||||
const slotOfferContext = (slotIndex) => {
|
||||
const slot = draft?.slots?.[slotIndex]
|
||||
if (!slot) return null
|
||||
if (!draft || !slot) return null
|
||||
const goalForAi =
|
||||
buildSlotGapGoalForAi(draft, slotIndex, { goalQuery: draft.goalQuery }) ||
|
||||
slot.learning_goal
|
||||
const priorSlot =
|
||||
slotIndex > 0 && draft.slots[slotIndex - 1]
|
||||
? draft.slots[slotIndex - 1]
|
||||
: null
|
||||
return {
|
||||
offer_id: `slot-${slotIndex}`,
|
||||
title_hint: slot.primary?.exerciseTitle || slot.learning_goal,
|
||||
roadmap_major_step_index: slot.majorStepIndex,
|
||||
phase: slot.phase,
|
||||
source: 'roadmap_unfilled',
|
||||
goal_for_ai: slot.learning_goal,
|
||||
sketch: slot.learning_goal,
|
||||
goal_for_ai: goalForAi,
|
||||
sketch: goalForAi,
|
||||
from_title: priorSlot?.primary?.exerciseTitle || null,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user