Skip to content

Fix CI#15

Merged
AS1100K merged 5 commits intomasterfrom
fix-ci
Aug 5, 2025
Merged

Fix CI#15
AS1100K merged 5 commits intomasterfrom
fix-ci

Conversation

@AS1100K
Copy link
Copy Markdown
Owner

@AS1100K AS1100K commented Aug 5, 2025

This pull request introduces several improvements to CI reliability, dependency management, and test suite consistency. The most significant changes include adding Dependabot configuration for automated dependency updates, updating the CI workflow and test script to handle nightly/stable toolchain differences, and refining test suite dependencies and outputs.

CI and Test Suite Reliability

  • Updated the CI workflow (.github/workflows/ci.yml and test.sh) to pass the Rust toolchain as an argument to the test script and added logic to handle nightly-specific stderr files, addressing formatting discrepancies between nightly and stable toolchains. Temporary file copying ensures tests pass consistently across environments. [1] [2]
  • Enhanced cleanup in the test script by removing temporary stderr files after tests complete for a tidier workspace.

Dependency Management

  • Added a .github/dependabot.yml configuration to enable weekly automated updates for Cargo dependencies, improving long-term project maintainability.
  • Updated trybuild dependency in pastey-test-suite/Cargo.toml to use a more flexible version requirement ("1" instead of "1.0.49"), reducing risk of dependency conflicts.

Test Suite Consistency

  • Added new .stderr files for stable toolchain output in the test suite, ensuring error messages are correctly checked and tracked. [1] [2]
  • Reformatted the authors field in pastey-test-suite/Cargo.toml for improved readability.

@AS1100K AS1100K requested a review from Copilot August 5, 2025 18:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves CI reliability by addressing toolchain-specific formatting differences and adds automated dependency management. The main focus is resolving nightly vs stable Rust toolchain inconsistencies in test outputs that were causing CI failures.

  • Implements toolchain-aware test script logic to handle different stderr outputs between nightly and stable Rust
  • Adds Dependabot configuration for automated weekly dependency updates
  • Updates trybuild dependency version constraint for better flexibility

Reviewed Changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test.sh Adds toolchain parameter handling and temporary file copying logic to address CI formatting differences
.github/workflows/ci.yml Passes Rust toolchain as argument to test script
.github/dependabot.yml Configures automated weekly Cargo dependency updates
pastey-test-suite/Cargo.toml Updates trybuild version constraint and reformats authors field
pastey-test-suite/tests/ui/*.stable.stderr Adds stable toolchain-specific stderr files for consistent test outputs

Comment thread test.sh
Comment thread test.sh
Comment thread test.sh
@AS1100K AS1100K merged commit 4b90420 into master Aug 5, 2025
17 checks passed
@AS1100K AS1100K deleted the fix-ci branch August 5, 2025 18:34
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