GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(pm-stack): keep roadmap rows visible and validate horizons (#1207) by dezren39 · Pull Request #3958 · developing-today/code Conversation
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 51 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
… after rebase (#1207) Shepherd rebase of PR #3958 onto current main (task 13369): (1) laneFor order scale — the PR inserted now/next/later lanes and shifted ongoing/unscheduled, which inverted the relative order of ongoing vs other:* lanes and broke slice2 month-timeline ordering (#3952); other:* now sorts after ongoing and unscheduled stays last, matching the canonical vocabulary order in roadmap-horizon.ts. (2) roadmap-horizon live test now pins PM_AGG_SOURCE=live in its loadConfig env — main has since added the source gate (parseAggregatorSource) that rejects an unset source outside dev mode, so the test failed before reaching the live path. Targeted suites: roadmap-horizon + render + slice2 = 57/57 pass on the laptop; seed validation 23 values OK.
bd3cf37 to
4dc95a5
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 4dc95a5851
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if ! command -v bun >/dev/null 2>&1; then | ||
| echo "bun is required to validate roadmap Horizon values before seeding" >&2 | ||
| exit 1 | ||
| fi | ||
| bun run validate-roadmap-seed.ts |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Preserve Bun availability in the seed smoke-test harness
The new Bun prerequisite breaks the existing Grist seed smoke tests on the Ubuntu CI runner. pm-stack/scripts/seed-smoke.test.sh replaces PATH with /run/current-system/sw/bin:/usr/bin:/bin plus its stub directories, so it discards the Bun installation exposed by oven-sh/setup-bun in .github/workflows/pm-stack-tests.yml. Both Grist invocations consequently exit before exercising the fake API. Update the harness to expose the installed Bun executable while retaining its isolated HTTP/SOPS environment.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in bc0967d: seed-smoke.test.sh now captures bun (command -v bun) before PATH is replaced with the isolated SYSTEM_PATH and symlinks it into the stub bin that run_grist already puts on its PATH, so the oven-sh/setup-bun installation stays reachable under the isolated environment while SOPS/HTTP isolation is unchanged. Verified: smoke suite passes with bun only reachable via a pre-isolation wrapper (wrapper invoked once per Grist run).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| test("rejects malformed values and impossible calendar dates", () => { | ||
| for (const value of ["", "Q5 2027", "2026-02-30", "2026-10-24 extra", "Soonish"]) { | ||
| expect(validateRoadmapHorizon(value).valid).toBe(false); | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Add generated invariant coverage for the Horizon parser
The new Horizon parser is covered only by hand-written examples, despite having meaningful invariants such as canonicalization idempotence, preservation under accepted whitespace/case variations, and Gregorian-calendar validity. The testing doctrine in AGENTS.md explicitly requires property tests for parser invariants and says example tests do not replace them. Add generated coverage with an independent calendar/model oracle alongside these examples.
AGENTS.md reference: AGENTS.md:L41-L45
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in bc0967d: added a property-based block to roadmap-horizon.test.ts with a seeded deterministic generator (mulberry32) and an independent oracle - JS Date UTC round-trip decides Gregorian validity (the parser uses an arithmetic leap-year table). Properties across 1800 generated cases: (1) parser validity always agrees with the calendar oracle (incl. century leap edges 1900/2000/2100/2400, invalid months/days); (2) canonicalization is idempotent and case/whitespace variants of quarters, buckets and dates preserve the canonical form; (3) generated malformed values and non-text inputs are rejected. bun test: 8 pass, 3078 expect() calls.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…in seed smoke harness, add property-based Horizon parser coverage
|
Agent note - parked
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
… after rebase (#1207) Shepherd rebase of PR #3958 onto current main (task 13369): (1) laneFor order scale — the PR inserted now/next/later lanes and shifted ongoing/unscheduled, which inverted the relative order of ongoing vs other:* lanes and broke slice2 month-timeline ordering (#3952); other:* now sorts after ongoing and unscheduled stays last, matching the canonical vocabulary order in roadmap-horizon.ts. (2) roadmap-horizon live test now pins PM_AGG_SOURCE=live in its loadConfig env — main has since added the source gate (parseAggregatorSource) that rejects an unset source outside dev mode, so the test failed before reaching the live path. Targeted suites: roadmap-horizon + render + slice2 = 57/57 pass on the laptop; seed validation 23 values OK.
…in seed smoke harness, add property-based Horizon parser coverage
bc0967d to
53dc4d3
Compare
There was an error while loading. Please reload this page.
|
Agent note — task 13369 shepherd outcome (lane code-v, direct) PR #3958 MERGED — merge sha c05f2ad.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.