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

fix: unify the logged output of the task result #182

Merged
merged 4 commits into from
Jan 20, 2025

Conversation

michalsn
Copy link
Member

Description
This PR fixes a bug where the task result cannot always be logged properly.

Fixes #179

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@coveralls
Copy link

coveralls commented Jan 20, 2025

Pull Request Test Coverage Report for Build 12870767779

Details

  • 8 of 8 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.4%) to 76.053%

Totals Coverage Status
Change from base Build 11778174829: 0.4%
Covered Lines: 343
Relevant Lines: 451

💛 - Coveralls

src/TaskLog.php Outdated Show resolved Hide resolved
src/TaskLog.php Outdated Show resolved Hide resolved
michalsn and others added 2 commits January 20, 2025 16:02
Co-authored-by: John Paul E. Balandan, CPA <[email protected]>
@michalsn
Copy link
Member Author

Fixed. Not sure why rector is always failing at first and I have to run it again.

Maybe we should add these lines to the file in this repo: https://github.com/codeigniter4/.github/blob/main/.github/workflows/rector.yml#L22-L27

@paulbalandan
Copy link
Member

It seems it already uses the concurrency thing as it inherits from the .github repo. But I'm not sure why it's taking so long to start.

@michalsn michalsn merged commit e5ca83d into codeigniter4:develop Jan 20, 2025
31 of 32 checks passed
@michalsn
Copy link
Member Author

Thank you!

I had to manually restart the rector and now it went in no time 🤷‍♂️

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.

TaskLog expects a string to be set as an output, but Events::trigger() returns bool
3 participants