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

Feat: Enforce mandatory fuel code validation for schedules - 1429 #1461

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

hamed-valiollahi
Copy link
Collaborator

This PR implements logic to enforce mandatory fuel code selection in schedules when "Fuel code - section 19 (b) (i)" is chosen.

Closes #1429

Copy link

github-actions bot commented Dec 13, 2024

Frontend Test Results

  1 files  ±0  116 suites  ±0   37s ⏱️ -2s
390 tests ±0  370 ✅ ±0  20 💤 ±0  0 ❌ ±0 
392 runs  ±0  372 ✅ ±0  20 💤 ±0  0 ❌ ±0 

Results for commit 3caa3d6. ± Comparison against base commit c16d7cb.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 13, 2024

Backend Test Results

493 tests  ±0   491 ✅ ±0   1m 48s ⏱️ -2s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     2 ❌ ±0 

For more details on these failures, see this check.

Results for commit 3caa3d6. ± Comparison against base commit c16d7cb.

♻️ This comment has been updated with latest results.

@@ -1,4 +1,6 @@
import logging
import os
import debugpy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need these new imports?

Copy link
Collaborator

@areyeslo areyeslo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Tested and works great!. Just wondering if we need those imports?

@hamed-valiollahi
Copy link
Collaborator Author

Looks great! Tested and works great!. Just wondering if we need those imports?

Thanks for the code review. We need these imports for backend debugging purposes. It looks like they were accidentally removed. They enable remote debugging in development if needed. Please refer to line 111 of this file for more details.

Copy link
Collaborator

@areyeslo areyeslo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hamed-valiollahi hamed-valiollahi merged commit bef9b1d into release-0.2.0 Dec 17, 2024
11 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.

LCFS - Schedules, Fuel code validation
2 participants