Skip to content

Test jssrc2cpg against atom-parsetools main with parsa - #302

Merged
prabhu merged 3 commits into
mainfrom
ci/parsetools-main
Nov 4, 2026
Merged

prabhu merged 3 commits into
mainfrom
ci/parsetools-main

Conversation

@prabhu

@prabhu prabhu commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

pr-tests installs @appthreat/atom-parsetools from npm, which is 1.10.6 today, so nothing on atom-parsetools main reaches chen's CI before it is released: not the native type maps that become astgen's default in 2.0.0, not the astgen_manifest.jsonl types record jssrc2cpg reads the engine from (#301), and not the TypeScript 6 budgets.

A new pull request job, jssrc2cpg-parsetools-main, runs the jssrc2cpg suite against atom-parsetools main. The parsetools-from-main action clones atom-parsetools main, installs it globally so astgen on the PATH is main's, pulls parsa from ghcr.io/appthreat/parsa:<platform>-main (published by atom-parsetools on every push to main), checks it against its .sha256, and sets ASTGEN_NATIVE_BIN. The job is a required check on pull requests, so a regression on atom-parsetools main blocks chen's merges until it is fixed or the job is changed; the merge queue skips it. The package is public and an anonymous oras pull of linux-amd64-main verified locally. The work was done by AI agents.

pr-tests installs atom-parsetools from npm, so the native type maps that
become astgen's default in atom-parsetools 2.0.0, and the manifest
record jssrc2cpg reads the engine from, were not tested here before
release. A new pull request job, jssrc2cpg-parsetools-main, runs the
jssrc2cpg suite with astgen from atom-parsetools main on the PATH and
parsa from ghcr.io/appthreat/parsa:<platform>-main at
ASTGEN_NATIVE_BIN, through a parsetools-from-main action that checks
the binary's sha256. It is not a required check.
@prabhu prabhu added enhancement New feature or request jssrc ai-auto A person set the task, and AI agents carried it through to completion labels Nov 4, 2026
@prabhu prabhu moved this to In review in AppThreat roadmap Nov 4, 2026
The job runs on pull requests only. A merge-group build skips it, and
GitHub counts a skipped required check as passed, so the queue does not
wait on it.
@prabhu
prabhu enabled auto-merge November 4, 2026 06:14
@prabhu prabhu added this to the v4.0.0 Pelorus milestone Nov 4, 2026
@prabhu
prabhu added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit d72616a Nov 4, 2026
@prabhu
prabhu deleted the ci/parsetools-main branch November 4, 2026 09:50
@github-project-automation github-project-automation Bot moved this from In review to Done in AppThreat roadmap Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-auto A person set the task, and AI agents carried it through to completion enhancement New feature or request jssrc

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant