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

Dueling-breaking-queries rework of the jobs index page #19778

Closed
wants to merge 175 commits into from

Conversation

philrenaud
Copy link
Contributor

@philrenaud philrenaud commented Jan 19, 2024

Borked; cherry-picked in #20452

Copy link

github-actions bot commented Jan 19, 2024

Ember Test Audit comparison

bff-accurate-jobs-summaries 0787d9c change
passes 1549 1521 -28
failures 0 0 0
flaky 0 0 0
duration 10m 46s 408ms 10m 32s 532ms -13s 876ms

@philrenaud philrenaud force-pushed the bff-job-summary-fe-redux branch from e4834ee to 0fde10d Compare January 24, 2024 01:18
@philrenaud philrenaud force-pushed the bff-job-summary-fe-redux branch from 0fde10d to 5ea7165 Compare January 24, 2024 17:29
@philrenaud philrenaud force-pushed the bff-job-summary-fe-redux branch from eedc57c to 35ec0c2 Compare January 29, 2024 14:49
@philrenaud philrenaud force-pushed the bff-job-summary-fe-redux branch from c18e1b1 to 03596ee Compare February 1, 2024 14:23
@philrenaud philrenaud force-pushed the bff-job-summary-fe-redux branch from 03596ee to 30dcf7f Compare February 1, 2024 20:56
@philrenaud philrenaud force-pushed the bff-job-summary-fe-redux branch from 30dcf7f to 6a1ae99 Compare February 1, 2024 22:00
shoenig and others added 25 commits April 18, 2024 12:40
In #20296 we added a Go tool chain to the AMI we use for E2E tests, so that we
can build `consul-cni` for tproxy testing. This is intended to be temporary
until `consul-k8s` 1.4.2 is officially released. But the Go cache from building
`consul-k8s` uses up roughly 1.5GiB of space and the test machines have fairly
small disks. This causes the Nomad clients to aggressively GC client allocations
that stop, which breaks tests that run batch workloads and then read their logs.
* add LICENSE(.txt) to zip that goes on releases.hashicorp.com
* add LICENSE(.txt) to linux packages and docker image
* add some more docker labels (including license)
Ports are a maximum of uint16, but we have a few places in the recent tproxy
code where we were parsing them as 64-bit wide integers and then downcasting
them to `int`, which is technically unsafe and triggers code scanning alerts. In
practice we've validated the range elsewhere and don't build for 32-bit
platforms. This changeset fixes the parsing to make everything a bit more robust
and silence the alert.

Fixes: https://github.com/hashicorp/nomad-enterprise/security/code-scanning/444
Add a standalone section to the Consul integration docs showing how to configure
both the Consul agent and the workload to take advantage of Consul DNS. Include
a reference to the new transparent proxy feature as well.

Fixes: #18305
Adds new metrics to the eval broker that track times of evaluations enqueueing
and dequeueing.
The `mock_driver` is an internal task driver used mostly for testing and
simulating workloads. During the allocrunner v2 work (#4792) its name
changed from `mock_driver` to just `mock` and then back to
`mock_driver`, but the fingreprint key was kept as `driver.mock`.

This results in tasks configured with `driver = "mock"` to be scheduled
(because Nomad thinks the client has a task driver called `mock`), but
fail to actually run (because the Nomad client can't find a driver
called `mock` in its catalog).

Fingerprinting the right name prevents the job from being scheduled in
the first place.

Also removes mentions of the mock driver from documentation since its an
internal driver and not available in any production release.
The "Provision a Nomad cluster in the cloud" works in AWS with these updates:

- use an available ubuntu version
- uses hashicorp packages where possible
- updates Nvidia installation
- installs CNI plugins
…20408)

* Fix a UI bug where promotion would be asked with no new canaries

* Because we now make sure of your allocations, our test cases should more accurately reflect a state of a promotable workflow
* mainly jobs endpoint
* update call sites
* add new sort helpers
* put sorting in a separate file
and move a namespace check
and tweak some comments
probably will remove ActiveDeploymentID later
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.