43 Commits

Author SHA1 Message Date
Igor Sirotin
4fd33b6121
refactor: adopt golang-standards/project-layout (#111)
* refactor: adopt golang-standards/project-layout

Move the legacy kernel wrapper `waku/*` to `pkg/kernel/*` and rename its
package `waku` -> `kernel`; nothing outside the package imported it, so this is
a mechanical import-path/prefix change. Update the relocated Makefile's
relative dep path, the legacy CI workflows (CI/endurance/repeated) build paths,
README, and .gitignore accordingly (preserving the libwaku-cache CI from #109).

Add scaffolding for the upcoming Messaging API work: `internal/ffi` (cgo
bridge), `pkg/messaging` (high-level Node API), and `examples/`. Document
`pkg/kernel` as legacy until logos-delivery#3851 consolidates the C libraries.

Also stop tracking the accidentally-committed `waku-bindings` build artifact
and gitignore the kernel build output.

No behavior change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: cleanup

* fix: repair references to removed utils package

nwaku_test_utils.go now uses pkg/kernel/utils.GetRSSKB; the memory_record
tool is self-contained (local helpers, missing mutex restored).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 10:13:55 +01:00
Igor Sirotin
0a84f0fb7b
ci: add PR-gate workflow + fix module path (#109)
* chore: rename module path to logos-delivery-go-bindings

The module path still read `logos-messaging-go-bindings`, mismatching the
repository name. Rename it to `github.com/logos-messaging/logos-delivery-go-bindings`
and update all in-repo imports. gofmt re-sorts a few import blocks as a result
(plus two files that were already unformatted on master).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci: add PR-gate workflow and golangci-lint config

The repo had no `on: pull_request` CI (only workflow_dispatch + nightly
schedule), so nothing validated PRs. Add `.github/workflows/pr.yml` that
builds libwaku and runs `go build`, `go vet`, golangci-lint, and a test-compile
pass on every PR. Add a baseline `.golangci.yml` (standard linters + gofmt).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci: scope golangci-lint to new code via new-from-merge-base

Run the full `standard` linter set but only report findings introduced since
the merge-base with master, so the legacy kernel wrapper's pre-existing issues
(unchecked defer-Close, dead helpers) don't drown the gate while new code still
gets full coverage. Fetch origin/master so the base ref is available in CI.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci: clone logos-delivery outside vendor/ and build in module mode

`go build` failed in CI because cloning logos-delivery into `vendor/` put Go
into vendor mode against an inconsistent `vendor/modules.txt`. Clone the
checkout into `.logos-delivery` instead and set `GOFLAGS=-mod=mod` so the gate
always builds in module mode.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci: use golangci-lint-action@v7 for golangci-lint v2

v6 of the action rejects golangci-lint v2 versions ("v2 is not supported by
golangci-lint-action v6"). Bump to v7.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci: cache libwaku, gate go mod tidy, rename LMN_DIR

- Rename LMN_DIR -> LOGOS_DELIVERY_DIR across the PR-gate and nightly
  workflows, the waku Makefile, and the build docs.
- Cache the built logos-delivery kernel keyed on its upstream HEAD SHA,
  skipping the clone + libwaku build while that commit is unchanged.
- Add a "go mod tidy is clean" step that fails if go.mod/go.sum drift.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 23:04:57 +01:00
Darshan
ac6f8a5096
chore: align with logos-delivery rename and v0.38.0-beta (#105) 2026-02-27 21:47:05 +05:30
darshankabariya
4c6f87e62d
chore: deprecated go-waku 2025-12-23 02:40:09 +05:30
darshankabariya
c500c6d247
chore: deprecated go-waku 2025-12-23 02:21:12 +05:30
darshankabariya
79f94a234a
chore: deprecated go-waku 2025-12-23 01:46:21 +05:30
darshankabariya
0f47d57aa8
chore: deprecated go-waku 2025-12-23 01:23:45 +05:30
darshankabariya
9f6e9ac839
chore: update accordings to rename 2025-12-22 18:23:02 +05:30
darshankabariya
cc70f9b695
chore: update accordings to rename 2025-12-22 17:55:04 +05:30
darshankabariya
284bbbc798
chore: update accordings to rename 2025-12-22 17:37:36 +05:30
darshankabariya
e774350a9e
chore: update accordings to rename 2025-12-22 17:21:52 +05:30
darshankabariya
4f38e24337
chore: update accordings to rename 2025-12-22 17:16:51 +05:30
darshankabariya
a600695118
chore: update accordings to rename 2025-12-22 15:13:25 +05:30
darshankabariya
3b704e93c4
chore: update accordings to rename 2025-12-22 14:45:12 +05:30
darshankabariya
576c379ab2
chore: update accordings to rename 2025-12-19 14:09:28 +05:30
darshankabariya
c50de8cbc0
chore: daily ci improvement 2025-12-16 17:15:06 +05:30
aya
34ef2958d9 Increase limit to 10 and make job fail on failing tests 2025-06-17 19:42:21 +03:00
aya
d06c4f9d8e Modify command 2025-06-17 18:23:25 +03:00
aya
5768714200 Modify count of each test to run 5 times 2025-06-17 18:21:12 +03:00
aya
3655838ef4 Adjust count of each test runs to 15 2025-06-02 20:06:36 +03:00
aya
cb45c9fd9f Try to make CI yml run all except stress test jobs 2025-05-18 23:06:44 +03:00
aya
878c57ae95 Edit CI.yml file to fix failing syntax 2025-05-18 22:09:26 +03:00
aya
dd76d0f864 Fix review points 2025-04-02 11:47:37 +02:00
aya
18e887d94c split CI jobs to speed it up 2025-03-26 12:41:36 +02:00
aya
f7cdae09c7 modifications to tests to fix CI issue 2025-03-25 13:09:41 +02:00
aya
b93b75743a Add perfix to stress_test.go 2025-03-23 13:53:14 +02:00
aya
08694a4905 make yml file run on push 2025-03-23 13:33:55 +02:00
aya
d70d8c3dec Fix CI yml 2025-03-23 13:30:23 +02:00
aya
8ddd2cdc71 Add new test and modify CI job to run all stress test 2025-03-22 16:04:58 +02:00
aya
5cb5551aa8 Adding packge structure for memory measuring 2025-03-16 15:57:13 +02:00
aya
ae4f2502f4 Modify test assertion 2025-03-13 11:29:03 +02:00
aya
43b8c4317f modify test name 2025-03-12 17:17:16 +02:00
aya
a84466dc88 Modify test with less nodes and incrrease job timeout 2025-03-12 16:46:02 +02:00
aya
1989546fc9 Navigate to waku folder 2025-03-12 14:53:41 +02:00
aya
4fff2c7425 change version to v4 2025-03-12 14:25:50 +02:00
aya
1e2b939ac4 change v3 to v4 2025-03-12 14:25:07 +02:00
aya
c445e33b5d update steps for submodule build 2025-03-12 14:22:53 +02:00
aya
b7eb54fef1 update for submodule 2025-03-12 14:04:11 +02:00
aya
68b2ef7230 Update go version to 1.21 2025-03-12 14:00:12 +02:00
aya
aa6d49c3d6 Fix version issue 2025-03-12 13:56:54 +02:00
aya
4daa8d666b Change version to v4 2025-03-12 13:52:50 +02:00
aya
0c5af347fa Change branch name 2025-03-12 13:51:02 +02:00
aya
6f1957a7c2 Add CI job 2025-03-12 13:41:25 +02:00