Skip to content

Update to AS6#4

Merged
sclaiborne merged 3 commits into
mainfrom
feature/as6
May 4, 2026
Merged

Update to AS6#4
sclaiborne merged 3 commits into
mainfrom
feature/as6

Conversation

@sclaiborne

Copy link
Copy Markdown
Member

What

  • Replaced AS4 example project with fresh AS6 skeleton via lpm + librarybuilderproject@1.0.1
  • Added Infrastructure as a source-referenced package in Logical/Package.pkg (Reference="true" pointing at ..\..\src\Ar\Infrastructure)
  • Added FirstInitP task (Infrastructure.FirstInitProg.prg) to Cyclic#1 in both Intel and ARM Cpu.sw
  • Installed available Loupe deps as AS6 binaries: persist v1.0.0, vartools v1.0.0, logthat v1.0.0
  • Deleted Jenkinsfile (replaced by GitHub Actions)
  • Added .github/workflows/build.yml (PR build) and build-publish.yml (source-only publish — no binary export, program package pattern)
  • Bumped src/Ar/Infrastructure/package.json version 0.1.11.0.0 (was pre-1.0; AS6 is a major bump)
  • Updated dep constraints in package.json to AS6 versions: persist >=1.0.0, vartools >=1.0.0, csvfilelib >=1.0.0, revinfoprog >=3.0.0
  • Added publishConfig for GitHub Packages registry

Build status — BLOCKED (expected)

Intel build: exit code 3 (errors) — caused entirely by missing dep symbols:

Error Symbol Source dep Status
buildDate undeclared buildDate global @loupeteam/revinfoprog Blocked — RevInfo PR #4 still in review (v3.0.0 not yet tagged)
gErrorCollector undeclared gErrorCollector global @loupeteam/errorlib or @loupeteam/errorprog Blocked — no loupeteam/ErrorProg GitHub repo exists; package.json dep @loupeteam/errorprog references a package that does not exist as a Loupe GitHub repo (confirmed via gh repo view loupeteam/ErrorProg — not found). Needs investigation.
ErrorCollectorFn_Init, errcolAddError ErrorLib functions Same as above Same blocker
createLogInit LogThat function — resolved in this build @loupeteam/logthat ✓ Resolved (logthat now installed)

Dep resolution summary

Dep Status
@loupeteam/persist >=1.0.0 ✓ Installed (v1.0.0)
@loupeteam/vartools >=1.0.0 ✓ Installed (v1.0.0)
@loupeteam/csvfilelib >=1.0.0 Blocked — CSVFileLib migration in flight
@loupeteam/errorprog >=0.1.0 Unknown — no loupeteam/ErrorProg GitHub repo; the functions used (ErrorCollectorFn_Init, errcolAddError, gErrorCollector) appear to come from ErrorLib not a standalone ErrorProg. Needs investigation before this PR can build clean.
@loupeteam/revinfoprog >=3.0.0 Blocked — RevInfo PR #4 still in review

Why

AS6 requires a new project format and updated library versioning. This PR migrates the example project and bumps the major version to signal the breaking change. The structural migration is complete; build will pass once the three blocked deps are resolved.

sclaiborne and others added 3 commits April 30, 2026 13:58
- Cleared AS4 example project and replaced with AS6 skeleton via lpm + librarybuilderproject@1.0.1
- Added Infrastructure source reference in Logical/Package.pkg
- Added FirstInitP task (TC1) to both Intel and ARM Cpu.sw
- Installed Loupe deps: persist v1.0.0, vartools v1.0.0, logthat v1.0.0
- Deleted Jenkinsfile (replaced by GitHub Actions)
- Added .github/workflows/build.yml and build-publish.yml (source-only publish pattern)
- Bumped package.json version 0.1.1 -> 1.0.0, updated dep constraints to AS6 versions
- Added publishConfig for GitHub Packages registry

Build blocked: buildDate (revinfoprog, RevInfo PR #4 in review), gErrorCollector/ErrorCollectorFn_Init/errcolAddError (errorlib — no loupeteam/ErrorProg GitHub repo), csvfilelib (migration in flight)
The example AsProject build was failing with `implicit declaration of
function 'ErrorCollectorFn_Init'` because the C source uses ErrorLib functions
directly but the example project had no errorlib installed.

Changes:
- Add `@loupeteam/errorlib` >=1.0.0 as a direct dep in the program package.json
  (FirstInitProg uses ErrorCollectorFn_Init / errcolAddError / errcolAddSourceByName
  directly — must declare its own dep, not rely on transitive via errorprog).
- `lpm install errorlib` in example/AsProject (pulls hmitools + ringbuflib transitively).
- Stub `gErrorCollector` and `buildDate` globals in Logical/Global.var so the
  example build is self-contained. These are normally provided by sibling program
  packages (errorprog v1.0.0 and revinfoprog v3.0.0) which are not yet published
  to the registry. Stubs are commented for removal once those publish.

Build status:
- Intel: 0 errors (warnings: pre-existing strcmp implicit decl, unused vars, licensing)
- ARM: 0 errors (same warnings)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@sclaiborne
sclaiborne merged commit 4465af3 into main May 4, 2026
1 check passed
@sclaiborne
sclaiborne deleted the feature/as6 branch May 4, 2026 19:52
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