Skip to content

chore: keep Go sources LF and drop stale roadmap transport deferral - #352

Merged
sethjuarez merged 2 commits into
mainfrom
sethjuarez/lf-go-roadmap-refresh
Oct 16, 2026
Merged

sethjuarez merged 2 commits into
mainfrom
sethjuarez/lf-go-roadmap-refresh

Conversation

@sethjuarez

Copy link
Copy Markdown
Owner

What & why

Two small hygiene fixes from an open-issue triage pass. Neither changes emitter behavior or generated output.

  • .gitattributes: *.go text eol=lf. With core.autocrlf=true, Windows checks out the hand-authored Go vector-adapter fixtures as CRLF, so the validate:fixtures gofmt stage fails locally. The committed blobs are already LF.
  • roadmap.mdx. The intro paragraph and item 7 still said to defer HTTP transport projection. That contradicts concepts/contracts.mdx, and the transport roadmap (feat: track Typra v2 transport producer/consumer roadmap #189) is now closed as complete.

Refs #189

Reproduction-first checklist

Typra fixes codegen bugs by turning the reproduction into a permanent test. For any change to emitter
behavior or generated output, confirm:

  • A focused feature fixture carries the shape (packages/typra-emitter/fixtures/features/<area>/main.tsp), or an existing one was extended. N/A: no emitter or generated-output change.
  • A test asserts the fix — a validate-fixtures.mjs assertion, a golden under generated/fixtures/<lang>, and/or a unit test that fails on main and passes here. N/A.
  • Where behavior is runtime-observable, an executable @vector/@sample encodes input → expected/expectedError. N/A.
  • npm test, npm run validate:fixtures, and npm run lint pass. Not run: no emitter source changed. CI covers them.
  • The PR title is a Conventional Commit (type(scope): summary) — it becomes the squash commit and the CHANGELOG entry release-please generates.

Notes

Validation, on Windows with core.autocrlf=true:

Check Result
gofmt -l on tracked .go files before the change 3 of 5 files listed (CRLF)
git add --renormalize . no changes (blobs already LF)
gofmt -l after re-checkout clean, exit 0
npm ci && npm run build in docs/ (astro check + build) passed, 31 pages
id="http-transport" in built mappings/operations page present

pages.yml builds the docs only on pushes to main, so PR CI doesn't cover the docs build. That's why it was run locally.

Squash body (so the docs entry survives):

docs(roadmap): drop stale HTTP transport deferral

sethjuarez and others added 2 commits October 16, 2026 10:33
core.autocrlf=true checks hand-authored Go fixtures out as CRLF, which fails the validate:fixtures gofmt stage. Committed blobs are already LF, so renormalization is a no-op.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 25c59b95-6ae9-4775-bd14-86a11b625d8d
The transport roadmap (#189) is complete and contracts.mdx already says transport builds on callable/vector conformance.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 25c59b95-6ae9-4775-bd14-86a11b625d8d
@sethjuarez
sethjuarez merged commit d2f2c66 into main Oct 16, 2026
4 checks passed
@sethjuarez
sethjuarez deleted the sethjuarez/lf-go-roadmap-refresh branch October 16, 2026 17:44
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.

1 participant