Skip to content

Comments

develop#51

Merged
afonsoft merged 12 commits intodevelopfrom
main
Feb 18, 2026
Merged

develop#51
afonsoft merged 12 commits intodevelopfrom
main

Conversation

@afonsoft
Copy link
Owner

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you lint your code locally prior to submission?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Problem:
- snyk/actions/dotnet@master is deprecated and no longer supported
- Error: 'Could not detect supported target files'
- Action cannot find .NET project files correctly

Solution:
- Replace deprecated action with direct Snyk CLI installation
- Use official Snyk CLI binary for Linux
- Scan all projects with --all-projects flag

Changes:
- Install Snyk CLI directly from official source
- Use 'snyk test' command with proper parameters
- Maintain same severity threshold (high)
- More reliable and up-to-date approach

🎯 Security scan now uses modern, supported Snyk CLI!
🛡️ Replace deprecated Snyk action with modern CLI approach
Problem:
- Qodana action failing with argument parsing error
- Error: 'Unrecognized --linter value qodana-community-for-net --baseline'
- Cache keys not properly configured for current commit

Solution:
- Fix argument syntax separation
- Add proper cache key configuration
- Use correct format for Qodana parameters

Changes:
- Maintain same args format but ensure proper parsing
- Add primary-cache-key with commit SHA
- Add additional-cache-key for branch
- Improve cache performance and reliability

🎯 Qodana scan should now run without syntax errors!
Problem:
- SonarQube failing due to missing SONAR_TOKEN
- Authentication errors with SonarCloud server
- Security summary job failing due to dependency issues

Solution:
- Make SonarQube job conditional on token availability
- Remove SonarQube from security summary dependencies
- Fix duplicate if conditions in security alert step

Changes:
- SonarQube job now runs only when token is configured
- Security summary depends only on CodeQL and Snyk
- Clean up duplicate conditional statements
- Improved error handling for missing tokens

🎯 Security scans now work with or without SonarQube!
Problem:
- SonarQube action failing with authentication errors
- Token configuration issues with official action
- Need more robust error handling

Solution:
- Replace official action with manual scanner setup
- Use same configuration as working code-quality workflow
- Add proper token validation and error handling

Changes:
- Manual dotnet-sonarscanner installation and configuration
- Proper token validation with early exit if missing
- Same parameters as working code-quality workflow
- Build and analysis steps separated for better control

🎯 SonarQube now uses proven working configuration!
Problem:
- OpenHands resolver was using outdated workflow structure
- Missing new features and improvements from latest version
- Better error handling and configuration options needed

Solution:
- Replace with complete latest OpenHands resolver workflow
- Add all new inputs and configuration options
- Include improved error handling and logging
- Support for experimental features and better PR management

Changes:
- Complete workflow rewrite with latest structure
- Added workflow_call support with all inputs
- Improved conditional logic for triggers
- Better environment variable handling
- Enhanced error reporting and comments
- Support for experimental features
- Better artifact management

🎯 OpenHands resolver now uses latest version with all improvements!
Problem:
- 'dotnet list package' command failing with multiple .sln files
- Error: 'Found more than one solution file'
- Commands not specifying which solution to use

Solution:
- Explicitly specify MetarDecoder.sln in all dotnet commands
- Update both regular and security check workflows
- Ensure consistent solution file usage

Changes:
- dotnet list MetarDecoder.sln package --outdated
- dotnet list MetarDecoder.sln package --vulnerable
- Updated all build/test commands to use specific solution

🎯 Dependency workflow now works with multiple solution files!
🔧 Fix dependency update workflow - specify solution file
Feature:
- Add new DateTime properties while keeping existing Day/Time for backward compatibility
- Provide both individual components (Day, Time) and combined DateTime

Changes:
- DecodedMetar: Added ObservationDateTime property
- DecodedTaf: Added OriginDateTime property
- METAR DatetimeChunkDecoder: Populates all three properties
- TAF DatetimeChunkDecoder: Populates all three properties
- Smart DateTime calculation with month/year rollover handling

Benefits:
- Backward compatibility maintained
- Modern DateTime support for new consumers
- Flexible API supporting both old and new patterns

🎯 Enhanced date/time handling with backward compatibility!
➕ Add DateTime properties to DecodedMetar and DecodedTaf
@afonsoft afonsoft merged commit 994307d into develop Feb 18, 2026
7 of 12 checks passed
@afonsoft
Copy link
Owner Author

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
🔚 Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@sonarqubecloud
Copy link

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