Skip to content

Release workflow#3

Merged
joeldsouzax merged 12 commits into
devfrom
release-workflow
Dec 25, 2024
Merged

Release workflow#3
joeldsouzax merged 12 commits into
devfrom
release-workflow

Conversation

@joeldsouzax

Copy link
Copy Markdown
Contributor
  • added deploy workflow
  • added release workflow
  • added checks workflow
  • fixed fileSetCrate bug
  • made build for crates dynamic

@joeldsouzax joeldsouzax merged commit bf60e54 into dev Dec 25, 2024
@joeldsouzax joeldsouzax deleted the release-workflow branch December 25, 2024 15:33
joeldsouzax added a commit that referenced this pull request Jun 21, 2026
Closes two test gaps found in self-audit of #145:

- #2 length bands: the VOPR strategy only ever produced inline/1-byte CBOR
  length forms. Widen event_type/metadata/payload strategies into the 2-byte
  band, and add deterministic round-trips for payload at every band boundary
  (0/23/24/255/256/1024/65536), event_type at the 2-byte band and
  MAX_EVENT_TYPE_LEN, and metadata at the 2-byte band.
- #3 defensive branches: previously exercised only by never-panic fuzz (no
  outcome assertion). Pin exact outcomes for indefinite-length arrays, wrong
  block arity, a top-level indefinite array, a torn mid-heading (valid-prefix
  stop), a header missing the magic key, and a crc-valid body with empty
  metadata.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
joeldsouzax added a commit that referenced this pull request Jun 22, 2026
Closes two test gaps found in self-audit of #145:

- #2 length bands: the VOPR strategy only ever produced inline/1-byte CBOR
  length forms. Widen event_type/metadata/payload strategies into the 2-byte
  band, and add deterministic round-trips for payload at every band boundary
  (0/23/24/255/256/1024/65536), event_type at the 2-byte band and
  MAX_EVENT_TYPE_LEN, and metadata at the 2-byte band.
- #3 defensive branches: previously exercised only by never-panic fuzz (no
  outcome assertion). Pin exact outcomes for indefinite-length arrays, wrong
  block arity, a top-level indefinite array, a torn mid-heading (valid-prefix
  stop), a header missing the magic key, and a crc-valid body with empty
  metadata.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
joeldsouzax added a commit that referenced this pull request Jun 22, 2026
* docs(store): design + plan for export/import Card 3 (CBOR backup box)

Re-specs §6 of #145 for per-stream sections (stream_id in a per-stream
heading, not every block body), resolves the decode trust model (crc
mismatch => Corrupt; truncation => valid prefix; else Malformed), and
locks the minicbor/crc32c API decisions from source inspection.

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

* feat(store): scaffold cbor backup box feature + module skeleton

Card 3 of export/import (#145): the default CBOR travel codec. Adds the
`cbor` feature (implies export+import; never the reverse), pins minicbor +
crc32c, and lands ChunkError/ChunkHeader plus stubbed public functions.

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

* feat(store): cbor box header encode/decode + validation

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

* feat(store): cbor box block encode + crc-checked block decode

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

* feat(store): cbor box section heading + decode_chunk sequence walk

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

* test(store): cbor box defensive boundary — corrupt vs malformed

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

* test(store): cbor box lifecycle — valid-at-every-prefix + torn tail

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

* test(store): cbor box full pipeline export -> box -> import round-trip

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

* test(store): cbor box insta golden bytes for header + block

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

* test(store): cbor box VOPR round-trip + crc single-byte-mutation property

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

* test(store): cbor box defensive fuzz (never-panic) + forward-compat key skip

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

* test(store): cbor box CBOR length-band + defensive-branch coverage

Closes two test gaps found in self-audit of #145:

- #2 length bands: the VOPR strategy only ever produced inline/1-byte CBOR
  length forms. Widen event_type/metadata/payload strategies into the 2-byte
  band, and add deterministic round-trips for payload at every band boundary
  (0/23/24/255/256/1024/65536), event_type at the 2-byte band and
  MAX_EVENT_TYPE_LEN, and metadata at the 2-byte band.
- #3 defensive branches: previously exercised only by never-panic fuzz (no
  outcome assertion). Pin exact outcomes for indefinite-length arrays, wrong
  block arity, a top-level indefinite array, a torn mid-heading (valid-prefix
  stop), a header missing the magic key, and a crc-valid body with empty
  metadata.

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

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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