Skip to content
This repository was archived by the owner on Oct 1, 2026. It is now read-only.

chore: weekly upstream sync 2026-08-17 - #4

Merged
yjuyjuy merged 6 commits into
mainfrom
fm/upstream-sync-2026-08-17
Aug 17, 2026
Merged

yjuyjuy merged 6 commits into
mainfrom
fm/upstream-sync-2026-08-17

Conversation

@yjuyjuy

@yjuyjuy yjuyjuy commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Weekly upstream sync from kunchenguid/tasks-axi.

  • 5 upstream commits merged (clean, no conflicts)
  • Smoke: pnpm build clean (tsc), vitest 444 passed / 1 skipped

Notable upstream changes:

Merge, not rebase. Captain merges.

kunchenguid and others added 6 commits August 6, 2026 21:02
* perf(cli): answer --version through the axi-sdk-js fast path

Extract the package-version helper out of the heavy `src/cli.ts` graph into a
leaf `src/version.ts` (node builtins only), and rewrite `bin/tasks-axi.ts` to
answer a bare `-v`/`-V`/`--version` via `axi-sdk-js/fast-path`, dynamically
importing the command graph only for everything else. Bumps axi-sdk-js to
^0.1.10 for the `./fast-path` subpath export.

Version output is byte-identical and all other argv shapes still route through
`runAxiCli` unchanged. Guarded by a deterministic ESM loader module trace with
a negative control plus flag parity; no wall-clock assertion in CI.

* no-mistakes(document): Confirm fast-path docs and lint cleanliness

* no-mistakes: apply CI fixes
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: accept canonical Forgejo pull request URLs as typed PR links

One classification seam (isPrUrl in src/pr-url.ts) now decides what
counts as a PR URL for prose link derivation, done/add --pr validation,
and public-followup pr_url deliverables: canonical GitHub
https://github.com/<owner>/<repo>/pull/<n> or Forgejo
https://<host>/<owner>/<repo>/pulls/<n> with a positive, no-leading-zero
number. Near misses (issue routes, singular/plural route confusion,
trailing slash, query/fragment, whitespace, userinfo, ports, encoded
separators, malformed segments) are rejected as --pr / pr_url values and
derive as doc links, never pr.

Fixes kunchenguid#19

* fix: validate pr links against the untrimmed input

Review follow-ups from pipeline run 01KZFA73D662DCSJ4HVWKW21QX: --pr values
and pr-kind addLinks are validated before any trim, so whitespace-padded
input is rejected instead of normalized. The literal NUL byte in
test/pr-url.test.ts is now written as a unicode source escape so git
treats the file as text; an embedded-space rejection case is added
alongside it.
@yjuyjuy
yjuyjuy merged commit 3e7c68d into main Aug 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants