Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: model (parts of) Context via associated module #425

Merged
merged 9 commits into from
Nov 25, 2024

Conversation

kaspar030
Copy link
Owner

@kaspar030 kaspar030 commented Mar 19, 2024

This enables some nifty features:

  • conflict a context
  • allow modules to define Tasks
  • allow modules to define Rules

This also implies that Tasks and Rules can have dependencies.

Internally, quite a bit of Context tree handling can probably be removed, as Modules form a similar tree.

@kaspar030 kaspar030 marked this pull request as draft March 19, 2024 22:06
Copy link
Contributor

github-actions bot commented Mar 19, 2024

🐰Bencher

ReportTue, March 19, 2024 at 22:17:39 UTC
Projectlaze
Branch425/merge
Testbedgithub-actions
Benchmarkperf:task-clockperf:task-clock Results
msec | (Δ%)
laze -C RIOT build --global --generate-only✅ (view plot)9652.996

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

github-actions bot commented May 22, 2024

🐰 Bencher Report

Branch425/merge
Testbedgithub-actions
Click to view all benchmark results
Benchmarkperf:task-clockBenchmark Result
msec
(Result Δ%)
Upper Boundary
msec
(Limit %)
laze -C RIOT build --global --generate-only📈 view plot
🚷 view threshold
9,422.12
(+1.56%)
9,686.64
(97.27%)
🐰 View full continuous benchmarking report in Bencher

@kaspar030 kaspar030 force-pushed the context_as_modules branch from e0891e0 to 00edbea Compare May 22, 2024 12:28
@coveralls
Copy link

coveralls commented May 22, 2024

Coverage Status

coverage: 84.537% (+0.2%) from 84.329%
when pulling 5bc8732 on context_as_modules
into edebf2b on main.

@kaspar030 kaspar030 force-pushed the context_as_modules branch from ac2c224 to 43e413c Compare May 22, 2024 14:47
@kaspar030 kaspar030 force-pushed the context_as_modules branch 3 times, most recently from 6850738 to dc0bec5 Compare July 2, 2024 15:11
@kaspar030 kaspar030 force-pushed the context_as_modules branch 3 times, most recently from 98e3b02 to ab9ab5f Compare November 23, 2024 15:28
@kaspar030 kaspar030 marked this pull request as ready for review November 23, 2024 16:42
@kaspar030 kaspar030 merged commit e910523 into main Nov 25, 2024
8 checks passed
@kaspar030 kaspar030 deleted the context_as_modules branch November 25, 2024 16:07
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.

2 participants