Skip to content

Bump lodash from 4.17.11 to 4.17.13 - #7

Merged
matbrgz merged 1 commit into
masterfrom
dependabot/npm_and_yarn/lodash-4.17.13
Sep 16, 2019
Merged

matbrgz merged 1 commit into
masterfrom
dependabot/npm_and_yarn/lodash-4.17.13

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2019 •

Copy link
Copy Markdown
Contributor

Bumps lodash from 4.17.11 to 4.17.13.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 13, 2019
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/lodash-4.17.13 branch from aa5955d to 66577a9 Compare September 1, 2019 20:22
@matbrgz
matbrgz merged commit 02ef1c9 into master Sep 16, 2019
@matbrgz
matbrgz deleted the dependabot/npm_and_yarn/lodash-4.17.13 branch September 16, 2019 16:24
matbrgz pushed a commit that referenced this pull request Sep 10, 2026
…dash-4.17.13

Bump lodash from 4.17.11 to 4.17.13
matbrgz added a commit that referenced this pull request Sep 13, 2026
…106) (#107)

Closes #106.

Two screens read `exercises` and `teams`, the Helium tables from 2017. A
contest created through the wizard writes to `problems` and `users` and
never touches them.

The dashboard counted both, while the submission counts right below came
from `runs`. On any real contest it showed "0 problems, 0 teams, N
submissions" -- four headline numbers side by side, two of them
contradicting the other two. All four are now scoped to one contest: the
viewer's own if they have one, otherwise the running competition, never
the practice contest (#43).

Worse, the clarification form's problem dropdown was filled from
`exercises`, so it was always empty and a team could only ever ask a
"Geral" clarification, never one about a problem. It now lists the
contest's problems by letter and name, the listing shows that label
instead of "Problema #7", and a posted problem_id is checked against the
contest before it is stored -- clarifications.problem_id is a foreign key
to `problems`, so an id from anywhere had no business reaching it.

A third bug fell out of writing the test. home.blade.php renders
`$submission->time . 's'` in its "Tempo" column and nothing ever selected
a `time`: the dashboard threw "Undefined property: stdClass::$time" the
moment a contest had its first submission. No test had ever loaded it with
a run in the database. It now reports the judged duration, and there is a
test that loads the dashboard with a judged submission.

Three existing tests were asserting the old behaviour -- seeding
`exercises`/`teams` and checking the dashboard counted them, and expecting
an `exercises` key in the clarification view. They assert the real tables
now.

SiteController::teams() already did this correctly, which is where the
query shape came from.


Claude-Session: https://claude.ai/code/session_01Pvf2R8xtgbWQm1wRvjBqQY

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant