Repository navigation
fix(portal): descriptions starting with .NET no longer show as No description - #353
Conversation
…escription
The index cut descriptions at every period, so a leading or token-internal
period (".NET", "1.2") ended the clause early or left it empty. A period now
ends a clause only when whitespace or the end of the text follows it.
Closes #335
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Astra reviewReviewed commit StandardsNo merge-blocking method or YAGNI findings. The change fixes the existing shared SpecNo merge-blocking intent findings. Leading and token-internal periods remain part of the description. Sentence-ending periods, semicolons, spaced en dashes, and the existing 80-code-point bound are preserved. Root and card pages use the same index renderer, including Yours, Company, and visible retired/deleted entries. No scope creep found. Verification: Summary: Standards 0 blockers; Spec 0 blockers. No blocking issue in either axis. |
StandardsStandards is clean for this diff. No documented-standard breach, and none of the baseline smells show up.
No Effect service findings. The diff does not create, move, refactor, or consume an Effect service. No UI consistency findings. SpecThe issue's intent is what landed. (a) Nothing missing. (b) No scope creep. Treating (c) Nothing implemented incorrectly. MethodI ran the old search The lookahead is the rule in the PR body. A period counts only when whitespace or the end of the trimmed string follows. A semicolon or a spaced en dash still wins when it comes first. The cap still runs after the cut. In JavaScript, Strings the issue is about:
Controls that stay put: Same rule on strings the issue did not name:
A walk over code points would state the same rule. What the rule still does: YAGNIThis is the smallest change that fixes both examples. The new pattern is the old alternation plus a guard on the period. The match is still only the period, so the slice below it is unchanged. Nothing extra was added. No tokenizer, no sentence library, no The comment earns its place. It is the only note that a period inside a token is not a boundary. Without that sentence, changing the search back to The tests are the right size for this file. Keep the lookahead, the token sentence in the comment, and both new cases. Standards: 0 findings. Spec: 0 findings. Reviewed by Grok 4.7 in Grok Build. Separate passes covered standards, the issue, the punctuation method, YAGNI, and the tests. |
With the period rule from the previous commit, "Wait for it... then" showed as "Wait for it.." in the index. A run of periods before whitespace or the end now ends the clause as one boundary. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Both reviews (Astra, Grok) came back with 0 blockers. Fixed: Grok's method table showed that Kept as is:
Evidence on d728c36: |
…n cleanup (#355) On the filesystem store, if a file was deleted after the listing had enumerated it but before its stat, the whole listing failed with `StoreUnavailable`. OrphanSweep then abandoned the pass, leaving unrelated reclaimable objects until a later sweep. Closes #337. `walk` now skips an entry whose `stat` returns `ENOENT`. Other stat errors, such as permission or I/O failures, still fail the listing, and iteration stays lazy. The `list` doc comment now says a listing is not a snapshot. Stacked on #353 (branch fix/335-portal-dotnet-description). **Test evidence** - New test in `FilesystemContentStore.test.ts`: five files in one directory, list lazily, delete three after the first entry is returned. It failed before the fix with `ENOENT: ... stat` wrapped as `StoreUnavailable`. It now returns the first entry and the remaining file. - `pnpm typecheck` and `pnpm lint` pass. - `pnpm test`: 941 passed, 2 timed out in `packages/integrations` Postgres tests under machine load. Both files pass when re-run alone (9/9). Implemented by Claude Opus 5.5 via Claude Code (foreman run orchestrated by Claude Fable 5.1).
A patch described as ".NET release health and deployment notes" showed "No description" in the portal index, while its card showed the full text. The index cut the description at every period, so a leading period left an empty line, and a period inside a word such as "1.2" cut the line short.
A period now ends the index line only when a space or the end of the text follows it. Semicolons, spaced dashes and the 80-character limit work as before.
Closes #335
Test evidence
.NET release health and deployment notesandTrack release 1.2 rolloutsto the index-description test inPortalPages.test.ts. Before the fix it failed withexpected 'leading-period No description' to include '.NET release health…'. It passes now, and so do the existing period, semicolon, dash, length and blank cases (49/49 in the file).pnpm typecheckandpnpm lintpass.pnpm test: 940 passed, 2 failed. Both failures were 5-second timeouts inpackages/integrations(postgres/Operations.test.ts,postgres/Runtime.test.ts), plus a PGliteErrnoError44. Both files pass when run on their own (9/9). That package doesn't depend on the portal.Implemented by Claude Opus 5.5 via Claude Code (foreman run orchestrated by Claude Fable 5.1).