docs(issues): sync the issue mirror with the host
Some checks failed
rules-freshness / rules (push) Failing after 1s
Some checks failed
rules-freshness / rules (push) Failing after 1s
This commit is contained in:
parent
ff132c74eb
commit
db7858d400
@ -0,0 +1,26 @@
|
||||
---
|
||||
number: 1
|
||||
title: "Repoint PureYAML and SwiftWASIHTTPClient dependencies to Codeberg"
|
||||
state: closed
|
||||
labels: []
|
||||
assignees: []
|
||||
created: 2026-11-04T19:25:26Z
|
||||
updated: 2026-11-04T19:25:26Z
|
||||
host: https://git.aleahim.com/NodetteHQ/PureYAMLStreaming/issues/1
|
||||
synced: 2026-11-04T19:25:26Z 74d480e9a918
|
||||
neutralized: 1
|
||||
---
|
||||
|
||||
_Copied from https://codeberg.org/NodetteHQ/PureYAMLStreaming/issues/1. Opened by Mihaela on 2026-07-04._
|
||||
|
||||
## Status (2026-07-04)
|
||||
Open. Fresh dependency resolution is broken for both dependencies.
|
||||
|
||||
`Package.swift` depends on:
|
||||
|
||||
- `https://github.com/mihaelamj/PureYAML.git` (branch `main`)
|
||||
- `https://github.com/mihaelamj/SwiftWASIHTTPClient.git` (branch `main`)
|
||||
|
||||
Both GitHub repos have been deleted. Both packages exist on Codeberg: `https://codeberg.org/Mihaela/PureYAML` and `https://codeberg.org/Mihaela/SwiftWASIHTTPClient`.
|
||||
|
||||
Fix: repoint both URLs, refresh `Package.resolved`, and confirm the WASM smoke executable still builds.
|
||||
@ -0,0 +1,24 @@
|
||||
---
|
||||
number: 2
|
||||
title: "README badges and the WASM benchmark site link are dead"
|
||||
state: closed
|
||||
labels: []
|
||||
assignees: []
|
||||
created: 2026-11-04T19:25:26Z
|
||||
updated: 2026-11-04T19:25:27Z
|
||||
host: https://git.aleahim.com/NodetteHQ/PureYAMLStreaming/issues/2
|
||||
synced: 2026-11-04T19:25:27Z 6d5fdca93686
|
||||
neutralized: 1
|
||||
---
|
||||
|
||||
_Copied from https://codeberg.org/NodetteHQ/PureYAMLStreaming/issues/2. Opened by Mihaela on 2026-07-04._
|
||||
|
||||
## Status (2026-07-04)
|
||||
Open. The public-facing links went down with the GitHub repo.
|
||||
|
||||
- The badges in `README.md` are shields.io GitHub-workflow badges for `mihaelamj/PureYAMLStreaming`, which no longer exists.
|
||||
- `README.md` advertises the live WASM benchmark site at `mihaelamj.github.io/PureYAMLStreaming`. GitHub Pages sites are deleted with their repo, so that URL is gone even though the site sources in `WasmSite/` and the build scripts in `scripts/` are intact.
|
||||
|
||||
Fix:
|
||||
- Replace or drop the badges (Forgejo Actions badge endpoints are available).
|
||||
- Rehost the WASM site (Codeberg Pages is the natural home) and update the README link, or remove the live-site claim until it is rehosted. Note the site needs COOP/COEP headers for the SharedArrayBuffer benchmark, so verify Codeberg Pages can serve those before committing to it.
|
||||
@ -0,0 +1,37 @@
|
||||
---
|
||||
number: 3
|
||||
title: "Rewire ResumableDocumentScanner onto PureYAML.Streaming.Scanner"
|
||||
state: open
|
||||
labels: []
|
||||
assignees: []
|
||||
created: 2026-11-04T19:25:27Z
|
||||
updated: 2026-11-04T19:25:57Z
|
||||
host: https://git.aleahim.com/NodetteHQ/PureYAMLStreaming/issues/3
|
||||
synced: 2026-11-04T19:25:57Z 2eb2c1ba8003
|
||||
neutralized: 1
|
||||
---
|
||||
|
||||
_Copied from https://codeberg.org/NodetteHQ/PureYAMLStreaming/issues/3. Opened by Mihaela on 2026-07-10._
|
||||
|
||||
## Status (2026-07-10)
|
||||
|
||||
Open. `ResumableDocumentScanner` (`Sources/PureYAMLStreaming/ResumableDocumentScanner.swift`) is a naive line-based heuristic: it looks for `---` at the start of a line to split documents, with no understanding of YAML grammar (block scalars, flow context, or quoting can all contain a line starting with `---` that is not a real document boundary, and it would misfire).
|
||||
|
||||
PureYAML now ships a real, proven, resumable token-level scanner as public API: `PureYAML.Streaming.Scanner` (`init()`, `feed(_:)`, `finish()`, `next() throws -> Outcome`), added in NodetteHQ/PureYAML commit `41ca600`. It is a thin wrapper around the internal libyaml-ported scanner's `scanStep()`, which is proven byte-for-byte identical to batch scanning across the whole yaml-test-suite corpus at multiple chunk sizes, and the public wrapper has its own separate differential proof (`PublicStreamingScannerTests.swift`) covering the translation layer itself.
|
||||
|
||||
This is the "resumable token scanner" NodetteHQ/PureYAML#4 named as this package's actual intended consumer.
|
||||
|
||||
## Work
|
||||
|
||||
- Bump the `PureYAML` dependency pin to the commit (or next tagged release) that includes `PureYAML.Streaming.Scanner`.
|
||||
- Replace `ResumableDocumentScanner`'s line-based `consume(_:)`/`consumeLine(_:documents:)` with a real token-driven document-boundary detector built on `PureYAML.Streaming.Scanner.next()`: watch for `.documentStart`/`.documentEnd`/`.streamEnd` token kinds instead of scanning raw lines for `---`.
|
||||
- Decide what `Parser.swift`/`StreamingToken.swift` should look like once real tokens are available: keep the current `documentSource(String)`-only `StreamingToken` (feeding whole document text to `PureYAML.parse()` per document, just with a correct boundary detector), or start exposing token-level events directly per the "feed event-level consumers directly" goal in NodetteHQ/PureYAML#4.
|
||||
- Re-run this package's own correctness suite (and, if practical, a differential check against the current line-based scanner's output on the existing multi-document fixtures) to confirm no regression in document splitting.
|
||||
- Update `README.md`'s "Status" section, which currently states "It is not yet a token-level YAML scanner," once this lands.
|
||||
|
||||
## Not in scope here
|
||||
|
||||
- Any change to `PureYAML` itself; the public API this depends on already exists and is proven.
|
||||
- The WASM benchmark site or its build scripts, unless the rewiring changes what `PureYAMLStreamingWasmSmoke` needs to link against.
|
||||
|
||||
Related: NodetteHQ/PureYAML#4.
|
||||
5
issues/README.md
Normal file
5
issues/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Issues
|
||||
|
||||
One Markdown file per issue of this repository, kept equal to the issues on the host by `issuesync` (`--check` prints nothing when they agree).
|
||||
Files are named `<number>-<slug>.md`; a file written before the host assigned a number is `new-<slug>.md`. Folders named `recovered-*` are
|
||||
archives and are left alone.
|
||||
Loading…
Reference in New Issue
Block a user