Repository navigation
Conversation
indykish
marked this pull request as ready for review
October 30, 2026 08:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a regression test for an existing link-title decoding bug.
unescapeString("TypeScript <T> guide & examples")returnsTypeScript guide & examples, dropping the literal generic type. The helper parses the title as an HTML document even though LinkCard displays its result as React text.This draft prepares a failing regression check for the M224 development responder/repairer demonstration, targeting
dev. The implementation is deliberately left unchanged so a separately reviewed repair can fix the observed bug. This draft is expected to stay red until that repair exists; it is not ready to merge.The test file and
.github/workflows/playwright-tests.ymlchange. The workflow runs this scoped regression after dependency installation and before browser acceptance. Authentication, application implementation, deployment settings and secrets are untouched.Visual Demo
The local regression test provides the before/expected comparison:
The other two cases cover ordinary HTML entity decoding and escaped angle brackets; both pass.
AI Assistance (Required)
Tool: OpenAI Codex inspected the source, wrote the regression tests, ran them and created this draft at the repository owner's request.
What was verified by the author?
apps/web/components/LinkViews/LinkComponents/LinkCard.tsx.node_modules/.bin/vitest run apps/web/lib/client/unescapeString.test.ts: 2 passed, 1 failed, reproducing the existing bug.actionlint .github/workflows/playwright-tests.yml,git diff --checkand staged Gitleaks scans passed.The scoped run used task-local Vitest 4.1.0 and jsdom 22.1.0, matching this repository's declared version requirements. Full workspace dependencies, browser acceptance and all-repository tests were not run.
Development demonstration readiness
At creation, GitHub reported zero registered workflows and zero Actions runs for this fork. Reading Actions permissions returned HTTP 403. Actions enablement must be confirmed by the owner; no setting was changed here.
The existing Playwright workflow now runs
yarn test run apps/web/lib/client/unescapeString.test.tsafter dependency installation, in the newCheck link title decodingstep. The owner explicitly approved this single test step. The expected regression stops that job before its later browser steps. No fork setting was changed.A local failing test is not a failed GitHub Actions run. No fleet diagnosis, fleet-owned job-log/Grafana read, Slack delivery or repair success is claimed by this PR. Any later demonstration must correlate its actual run, event, source reads and draft fix.
Submission Acknowledgement
Session notes 1
Quieted successful dependency installation in commit 95a173d, as explicitly approved. Installation failures retain their full output and original exit status; the title-decoding regression and assertions are unchanged.
The push started one Playwright run: https://github.com/agentsfleet/linkwarden/actions/runs/41199403249 (attempt 1, job 124532028003). Installation passed and “Check link title decoding” failed as intended. Its decoded log is 42,883 bytes, within the 65,536-byte native stored-output budget. This is source preparation for M224; connector retrieval is not a fleet-owned demonstration pass.
Review
Approved scope is limited to the existing installation step and one development rerun. No further manual run was dispatched, no regression was weakened, and no passing repair result is claimed.
Make
actionlint .github/workflows/playwright-tests.yml: exit 0.gitleaks protect --staged --redact --no-banner: exit 0.