Bridge · Tooling · swarm-routing/ns3-upstream-report
ns3-upstream-report
The org's bridge to ns-3's GitLab: a mirror ticket per upstream bug report, with no manual step.
Locked: no release, 1 epic planned Computed from its 1 epic, as they stood on .
RepositoryThe register (tracked.toml)ADR-0002: the zero-manual design
What it does
When the org finds a bug in ns-3 itself (an NS3-NNN entry of sim-tools' register), this repository carries the report upstream to ns-3's GitLab: one mirror ticket per report, the GitLab notes and state mirrored back, the text sent only from merged files (reports/, replies/), every guard of the bridge checked before each GitLab call, and a veto window (the hold label) in place of approvals. The register and the root-cause records stay in sim-tools.
Every pipeline is one Go tool, cmd/upstream: read mirrors GitLab every 6 h, send posts a merged report or reply, verify re-runs each reproducer weekly on ns-3-dev master, lifecycle follows a fix into an ns-3 release, maintain keeps a merge request rebased, rotate renews the token. Only internal/gitlabwrite writes to GitLab, and only send, maintain and rotate import it: the read side cannot write. tracked.toml is the allowlist; nothing is posted for an item it does not list.
Diagrams
No diagram of its own yet. Where it sits in the colony is drawn below.
Package structure
The repository's layout, its licence per directory (LICENSING.md) and what exists today.
| Path | What | Licence | State |
|---|---|---|---|
cmd/upstream/ | the one binary: validate, lint, read, plan, send, verify, lifecycle, maintain, rotate | MIT OR GPL-2.0-only | present |
internal/ | its packages: the register, the bridge's guards, the GitLab reader and the only writer, each pipeline | MIT OR GPL-2.0-only | present |
tracked.toml | the register and allowlist, one item per NS3-NNN | GPL-2.0-only | present |
reports/, replies/ | a report or a reply bound for GitLab, merged by pull request only | GPL-2.0-only | present |
patches/ | a conflicting merge request's series, kept for resolution | GPL-2.0-only (ns-3's) | present |
.github/workflows/ | read, send, verify, lifecycle, maintain, rotate | GPL-2.0-only | present |
docs/adr/ | ADR-0002 (no manual step, the guards), ADR-0003 (the bridge is Go) | GPL-2.0-only | present |
Where it sits in the colony
Quests
The repository's epics and their sub-issues, as the issues stood on 2026-11-30: 0 of 1 sub-issue closed.
- #2 zero-manual upstream reporting: draft, verify, publish, track, reply, maintain, release
Planned · 0 / 1 sub-issues closed
Cite this project
Using ns3-upstream-report in a paper? Cite the project as below, and the works it rests on from its references.
Text
Joppi, Daniel Henrique (n.d.). ns3-upstream-report (version 0.0.0) [Computer software]. https://github.com/swarm-routing/ns3-upstream-report
BibTeX
@software{ns3upstreamreport,
author = {Joppi, Daniel Henrique},
title = {ns3-upstream-report},
version = {0.0.0},
url = {https://github.com/swarm-routing/ns3-upstream-report}
}- Version
- 0.0.0
- Author
- Daniel Henrique Joppi · ORCID
- DOI
- None: its CITATION.cff gives no DOI. Cite the repository.
- Licence
- GPL-2.0-only
Read from CITATION.cff at main when this site was built.
Sources
- ns3-upstream-report AGENTS.md: what the repository is, its layout, its golden rules
- ns3-upstream-report README
- ns3-upstream-report LICENSING.md
The status and the quests come from the repository's issues and releases (2026-11-30); the other
facts on this page are kept by hand from its AGENTS.md (as of 2026-11-08).