Skip to content

Fix to nil in report formatted report#215

Closed
miguelgonrod wants to merge 1 commit intomainfrom
miguelgonrod/report_fix
Closed

Fix to nil in report formatted report#215
miguelgonrod wants to merge 1 commit intomainfrom
miguelgonrod/report_fix

Conversation

@miguelgonrod
Copy link
Contributor

Today report failed with this log

/home/runner/work/buildfarm-tools/buildfarm-tools/database/scripts/lib/report_formatter.rb:172:in `block in test_regressions_known': undefined method `[]' for nil:NilClass (NoMethodError)

      tables[project][iss_report.first['status'].downcase] += "| `#{iss_report.first['github_issue']}` | #{iss_report.first['priority']} | #{jobs_str} | #{errors_str} |\n"
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	from /home/runner/work/buildfarm-tools/buildfarm-tools/database/scripts/lib/report_formatter.rb:161:in `each'
	from /home/runner/work/buildfarm-tools/buildfarm-tools/database/scripts/lib/report_formatter.rb:161:in `test_regressions_known'
	from ./format_report.rb:15:in `<main>'
Error: Process completed with exit code 1.

As I understood it is because the script got a project in downcase

Signed-off-by: miguelgonrod <miguel.gonzalez@ekumenlabs.com>
@miguelgonrod
Copy link
Contributor Author

miguelgonrod commented Feb 3, 2026

Something weird is happenning, it is showing the space but empty
image

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