Skip to content

Keep importing after an incomplete structured job posting - #147

Merged
ralyodio merged 3 commits into
profullstack:masterfrom
RowletCC:fix/import-first-complete-jobposting
Sep 21, 2026
Merged

ralyodio merged 3 commits into
profullstack:masterfrom
RowletCC:fix/import-first-complete-jobposting

Conversation

@RowletCC

Copy link
Copy Markdown
Contributor

When a page contains an incomplete JobPosting before a complete one, the importer selects the first node and falls back to page text. The complete structured title, description, employment type and remote status are consequently lost.

Continue through the existing JSON-LD nodes until a usable title and readable description are found. Preserve first-valid precedence, and retain the existing page fallback and warnings when every posting is incomplete. This changes only the selection step in the existing extractor.

Validation: three regression cases fail against upstream 282feb1; after the fix all five dedicated tests pass, and the TypeScript build passes. Synthetic fixtures cover separate JSON-LD blocks, an array with an @graph, an earlier HTML description with no readable text, first-valid precedence, and all-invalid fallback. Tests verify exact selected content, employment/workplace fields and warnings. No live job-site integration is claimed.

Submitted under the published $0.25 USD-equivalent reward per valid bug-fix PR, using the existing application and settlement conversation. Requested settlement remains native SOL on Solana mainnet, with acceptance and the exact net token amount confirmed before payment.

RowletCC and others added 3 commits September 20, 2026 15:47
Each of these PRs passed alone and failed together:

- profullstack#149 emits start="N" on ordered lists, so the profullstack#161 marker-width tests
  that begin at 12345 now expect the attribute.
- profullstack#131 resolves every federated host before connecting, so the profullstack#128
  directory salary tests pass allowPrivate like the other federation
  tests do.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit 763cd90 into profullstack:master Sep 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants