Skip to content

CI: isolate .krml extraction rules for CBOR, COSE snapshots#259

Merged
tahina-pro merged 3 commits into
project-everest:masterfrom
tahina-pro:_taramana_ci_krml
Feb 14, 2026
Merged

CI: isolate .krml extraction rules for CBOR, COSE snapshots#259
tahina-pro merged 3 commits into
project-everest:masterfrom
tahina-pro:_taramana_ci_krml

Conversation

@tahina-pro

Copy link
Copy Markdown
Member

Trying to answer Jonathan's question from FStarLang/karamel#679 (comment):

Is there some CI place I should be looking at to avoid these unpleasant [Karamel] regressions?

This PR isolates the Karamel calls and output in the nightly EverParse CI when automatically upgrading Karamel and producing the CBOR and COSE snapshots. With that, Karamel-specific output can be seen in Actions > Upgrade hashes, 3d doc, CBOR, COSE (nightly.yml) > Advance hashes > Generate CBOR snapshot with Karamel, and Actions > ... > Generate COSE snapshot with Karamel.

See for instance https://github.com/tahina-pro/quackyducky/actions/runs/22020102157/job/63627750125

This commit has been entirely AI-generated by GitHub Copilot CLI 0.409.0
using Claude Opus 4.6.

The prompts were:

  This directory contains the current state of EverParse pull request 244. Your job is
  to: 1. Refactor the rules in the local Makefiles in the src/cbor subdirectory tree, to
  create a new rule that extracts all .krml files for CBOR from the current behavior of
  the cbor-snapshot and cbor-test-snapshot rules from the main Makefile. 2. Create a
  rule in the main Makefile, cbor-extract-krml, depending on cbor-extract-pre, to use
  that new local rule, and make the existing cbor-snapshot and cbor-test-snapshot rules
  depend on that new rule. 3. Refactor the rules in the local Makefiles in the src/cose
  subdirectory tree, to create a new rule that extracts all .krml files for COSE from
  the current behavior of the cose-snapshot and cose-extract-test rules of the main
  Makefile. 4. Create a rule in the main Makefile, cose-extract-krml, depending on cddl,
  to use that new local rule, and make the existing cose-snapshot and cose-extract-test
  rules depend on that new rule.

and

  Some rule in a COSE local Makefile seems to use `extract-krml` from its premises with
 `$<` or something similar. Please check and fix any such uses.
@tahina-pro
tahina-pro merged commit 2a363c0 into project-everest:master Feb 14, 2026
17 checks passed
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