Commit Graph
9 Commits
Author SHA1 Message Date
SatoshiQaziMuhammed 27366cafe5 fix(deps): update tempfile so remove_dir_all 0.5 drops out (#11)
remove_dir_all < 0.8.0 (RUSTSEC/GHSA, Dependabot runtime alert) came in only through tempfile 3.3.0. cargo update -p tempfile moves it to 3.10.1, which no longer depends on remove_dir_all; Cargo.lock now has no remove_dir_all entry. Lock-only change.
2026-10-20 22:51:38 +04:00
SatoshiQaziMuhammed 925b6c9bcd Move vulnerable dependencies to patched versions (#7)
* Move vulnerable dependencies to patched versions

Backend (Cargo.lock): openssl 0.10.55 -> 0.10.81, bytes 1.12.1, h2 0.3.27,
tokio 1.26 -> 1.47.1 (mio 1.x), url 2.3.1 -> 2.5.7 (idna 1.1), rand 0.8.8,
spin 0.9.9, time 0.3.55, ring 0.17.14.

Three alerts needed manifest changes:

- tokio-rustls 0.23 -> 0.26 (rustls 0.20 -> 0.23), which is what moves
  ring off 0.16. The ring provider is selected explicitly instead of the
  default aws-lc-rs, so the image build needs no cmake/C toolchain; roots
  still come from webpki-roots (now 1.0). Checked against live hosts: a
  valid certificate connects, an expired one and a name mismatch are
  refused.
- maxminddb 0.23 -> 0.27: lookup() now returns a result that is decoded,
  and the City model's fields are no longer Options. The existing
  locate_random_ip test (12.5.56.25 -> "Gardena") passes.
- structopt (clap 2, which pulled atty) -> clap 4 derive in telemetry_core,
  telemetry_shard and the soak tests; criterion 0.4 -> 0.5 for the same
  reason. Both binaries' arguments were parsed before and after for the
  docker-compose invocations and a set of other cases: identical results,
  except that `--feed-timeout` given without a value is now an error where
  structopt silently used the default. --denylist keeps taking every value
  up to the next flag (num_args = 1..), as its help text describes.

Frontend: npm audit fix within ranges, and webpack-dev-server 4 -> 5.2.6
(no devServer options are configured, so nothing to migrate). Left:
sockjs -> uuid 8 inside webpack-dev-server 5; the fix is 6.0, which needs
Node 22 while CI runs 20, and it is the local dev server only.

Checked: backend cargo test (58 passed), clippy, fmt; frontend lint,
prettier, test and build.

* Reject an invalid byte size instead of panicking

ByteSize::from_str called expect("all ascii digits") on the numeric part,
so a value with no digits ("abc", "k") or one too large for usize
aborted the shard at startup with a panic instead of a usage error, and
the suffix multiplication could overflow silently in release builds.
Parse errors now return Err and the multiplication is checked.

The new test fails on the old code (panic) and passes on this one.
2026-10-03 04:44:21 +04:00
SatoshiQaziMuhammed fe3dd7744a Build and run the backend on bookworm; bullseye's packages are no longer fetchable (#6)
Debian 11 left LTS at the end of August 2026. The runtime stage's
`apt-get install openssl` now fails: the index still names
openssl 1.1.1w-0+deb11u8 but deb.debian.org answers 404 for the file, so the
image cannot be built at all.

Moving only the runtime to bookworm would break the binaries: openssl-sys is in
the lock, so they link the system libssl, and a bullseye build wants libssl1.1,
which bookworm does not ship. Both stages move together: the builder becomes
rust:1.88-bookworm (the same toolchain ci-unified carried) and the runtime
bookworm-slim, so the binaries link the libssl3 they run with.
2026-09-25 22:42:19 +04:00
Kurdistan Tech MinistryandClaude Opus 4.5 0feb4adeb8 Update Dockerfile labels to Pezkuwichain branding
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 17:05:24 +03:00
Kurdistan Tech Ministry cd53ae73f2 Backend CI: Allow clippy warnings from inherited Parity code 2026-01-08 16:50:56 +03:00
Kurdistan Tech Ministry a1813f31be Remove old workflow files, keep only backend-ci, frontend-ci, docker, lock 2026-01-08 16:49:36 +03:00
Kurdistan Tech Ministry 58d296c136 Fix prettier formatting in ImplementationColumn.tsx 2026-01-08 16:45:35 +03:00
Kurdistan Tech Ministry 1c8208839f Fix backend-ci workflow: use dtolnay/rust-toolchain instead of rust-action 2026-01-08 16:43:04 +03:00
Kurdistan Tech Ministry 2b1872f24e Rebrand to Pezkuwichain Telemetry
- Rename PolkadotIcon to PezkuwiIcon
- Update pinned chains for Pezkuwichain
- Add pezkuwichain, bizinikiwi, pezkuwichain-js icons
- Update favicon with Pezkuwi branding
- Update package.json author to Dijital Kurdistan Tech Institute
- Update GitHub links to pezkuwichain/pezkuwi-telemetry
- Update backend Cargo.toml authors
- Rewrite README with Pezkuwichain documentation
- Add GitHub workflows (frontend-ci, backend-ci, docker, lock)
2026-01-08 16:40:51 +03:00