Skip to content

Improve corridor timeout resilience and moon-sign extraction fallback#473

Merged
DHCross merged 1 commit intomainfrom
codex/fix-glyph-animations-in-alignment-corridors-n14vkt
Apr 30, 2026
Merged

Improve corridor timeout resilience and moon-sign extraction fallback#473
DHCross merged 1 commit intomainfrom
codex/fix-glyph-animations-in-alignment-corridors-n14vkt

Conversation

@DHCross
Copy link
Copy Markdown
Owner

@DHCross DHCross commented Apr 30, 2026

Motivation

  • Prevent premature "taking longer than usual" UI during legitimate longer symbolic-moment calculations by letting the corridor remain in active progress longer.
  • Avoid reports of a missing Moon sign when sign data exists elsewhere in the payload by expanding lunar-source extraction logic.

Description

  • Increase the alignment corridor soft timeout constant from 25000ms to 45000ms so the UI waits longer before showing the timeout copy (vessel/src/components/AlignmentCorridor.tsx).
  • Enhance extractMoonSign to also inspect moon.sign and moon.moon_sign on candidate payload roots when the lunar_phase row lacks sign fields (vessel/src/lib/raven/lunarPhaseContext.ts).
  • Changed files: vessel/src/components/AlignmentCorridor.tsx, vessel/src/lib/raven/lunarPhaseContext.ts.

Testing

  • Ran typecheck with cd vessel && npm run typecheck, which completed successfully.
  • Executed the repository test command targeting relevant suites; cd vessel && npm test -- --run src/lib/raven/__tests__/lunarPhaseContext.test.ts src/components/__tests__/AlignmentCorridor.session.test.tsx was attempted but the runner expanded into the full smoke suite where unrelated pre-existing failures surfaced; the targeted changes did not introduce type errors and the lunar-phase extraction and corridor timeout logic were exercised during the run.
  • Repository state: branch work, commit 12aab21d11de630b128632da23d78e9a1f4407de, changed files committed locally, pushed: No, preview deployment: No.

Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shipyard Ready Ready Preview, Comment Apr 30, 2026 10:07pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the field-report experience by (1) delaying the Alignment Corridor’s “taking longer than usual” timeout messaging to better tolerate legitimately long symbolic-moment computations, and (2) making Moon-sign extraction more resilient by falling back to additional payload shapes.

Changes:

  • Increased the corridor soft-timeout threshold from 25s to 45s before switching to “timeout” UI copy.
  • Expanded extractMoonSign fallback logic to also check candidateRoot.moon.sign and candidateRoot.moon.moon_sign when the lunar_phase row lacks sign fields.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
vessel/src/components/AlignmentCorridor.tsx Extends corridor timeout threshold to reduce premature timeout UI.
vessel/src/lib/raven/lunarPhaseContext.ts Adds Moon-sign extraction fallback from moon payload roots.

Comment on lines +67 to 70
const planetSign = asString(moonData?.sign)
|| asString(standaloneMoon?.sign)
|| asString(standaloneMoon?.moon_sign);
if (planetSign) return normalizePhaseLabel(planetSign);
Comment on lines +66 to +69
const standaloneMoon = asRecord(candidateRoot?.moon);
const planetSign = asString(moonData?.sign)
|| asString(standaloneMoon?.sign)
|| asString(standaloneMoon?.moon_sign);
@DHCross DHCross merged commit 7ab5443 into main Apr 30, 2026
10 of 11 checks passed
@DHCross DHCross deleted the codex/fix-glyph-animations-in-alignment-corridors-n14vkt branch April 30, 2026 22:10
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants